|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.configuration.PropertyFactory
Locate and use the appropriate Properties source for values.
Field Summary | |
CreationStrategy |
creationStrategy
|
protected static PropertyFactory |
instance
|
Constructor Summary | |
PropertyFactory()
Constructor for the PropertyFactory object |
Method Summary | |
static PropertyFactory |
getInstance()
Gets the Instance attribute of the PropertyFactory class |
java.util.Properties |
getOrCreateProperties(java.lang.String categoryId,
java.lang.Object context)
|
void |
initialize()
For now, this only sets the default creationStrategy |
void |
setCreationStrategy(CreationStrategy strat)
Sets the CreationStrategy attribute of the PropertyFactory object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static PropertyFactory instance
public CreationStrategy creationStrategy
Constructor Detail |
public PropertyFactory()
Method Detail |
public static PropertyFactory getInstance()
public void setCreationStrategy(CreationStrategy strat)
strat
- The new CreationStrategy valuepublic java.util.Properties getOrCreateProperties(java.lang.String categoryId, java.lang.Object context)
context
- categoryId
-
public void initialize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |