|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.configuration.ConfigurationServiceFactory
Usage of these classes are hidden within a finder object created for your properties. You begin by creating a PropertySource ( easily done by extending BasicPropertySource ). A property source will know how to locate property detail. A property detail is a 'struct' that will hold the raw property values for your application
Field Summary | |
protected static ConfigurationService |
defaultConfigurationService
|
Constructor Summary | |
ConfigurationServiceFactory()
Constructor for the ConfigurationServiceFactory object |
Method Summary | |
static ConfigurationService |
getConfigurationService(java.lang.Object context)
Gets the ConfigurationService that is appropriate for the provided context. |
static void |
initConfigService()
Create a new instance of DefaultConfigurationService if one does not already exist. |
static void |
setDefaultConfigurationService(ConfigurationService service)
Sets the DefaultConfigurationService attribute of the ConfigurationServiceFactory class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static ConfigurationService defaultConfigurationService
Constructor Detail |
public ConfigurationServiceFactory()
Method Detail |
public static void setDefaultConfigurationService(ConfigurationService service)
service
- The new DefaultConfigurationService valuepublic static ConfigurationService getConfigurationService(java.lang.Object context)
context
-
public static void initConfigService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |