com.ideo.sweetdevria.controller
Class RIAController

java.lang.Object
  extended by com.ideo.sweetdevria.controller.RIAController

public class RIAController
extends java.lang.Object


Method Summary
 void addResource(java.lang.String key, java.lang.Object resource)
           
 IRIAConfig getConfig()
          Return the configuration
static RIAController getInstance()
           
 MessageResources getMessageResources(java.lang.String key)
           
 java.util.Map getResources()
           
 java.util.List getResourcesOrder()
           
 void setConfig(IRIAConfig config)
          Set the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RIAController getInstance()
Returns:
This class singleton instance

addResource

public void addResource(java.lang.String key,
                        java.lang.Object resource)
Parameters:
key - the key of the resource
resource - the resource to add

getMessageResources

public MessageResources getMessageResources(java.lang.String key)
                                     throws java.lang.Exception
Parameters:
key - the key of the message resource object
Returns:
the message ressource object associated to this key
Throws:
java.lang.Exception

getResources

public java.util.Map getResources()
Returns:
all the message resources

getResourcesOrder

public java.util.List getResourcesOrder()
Returns:
all the message resources, in the order of their importance

setConfig

public void setConfig(IRIAConfig config)
Set the configuration

Parameters:
config - the configuration

getConfig

public IRIAConfig getConfig()
Return the configuration

Returns:
configuration


Copyright © 2010 Ideo Technologies. All Rights Reserved.