|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.objectwave.configuration.PropertyObjects
Hold on to the list of property that we create.
| Nested Class Summary | |
static class |
PropertyObjects.Test
|
| Constructor Summary | |
PropertyObjects()
Constructor for the PropertyObjects object |
|
| Method Summary | |
protected void |
addDetail(java.lang.Class context,
java.lang.String categoryId,
java.lang.Object propertyDetail)
Add the propertyDetail parameter to some internal collection using the context and categoryId as keys. |
void |
addDetail(PropertySource context,
java.lang.String categoryId,
java.lang.Object propertyDetail)
Allow configuration services to add detail objects that are not created by this instance. |
protected java.lang.Object |
createDetail(PropertySource context,
java.lang.String categoryId)
|
protected java.lang.Class |
getConfigurationClass(PropertySource context,
java.lang.String categoryId)
Gets the type to create for the specified categoryId |
java.lang.Object |
getDetail(PropertySource context,
java.lang.String categoryId)
Gets |
static PropertyObjects |
getInstance()
Gets |
boolean |
hasDetail(PropertySource context,
java.lang.String categoryId)
|
protected void |
initialize()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyObjects()
| Method Detail |
public static PropertyObjects getInstance()
public java.lang.Object getDetail(PropertySource context,
java.lang.String categoryId)
throws NotFoundException,
ConfigurationException
context - categoryId -
NotFoundException
ConfigurationException
protected java.lang.Class getConfigurationClass(PropertySource context,
java.lang.String categoryId)
throws ConfigurationException
context - categoryId -
ConfigurationException
public boolean hasDetail(PropertySource context,
java.lang.String categoryId)
throws ConfigurationException
context - categoryId -
ConfigurationExceptionprotected void initialize()
protected java.lang.Object createDetail(PropertySource context,
java.lang.String categoryId)
throws ConfigurationException
context - categoryId -
ConfigurationException
public void addDetail(PropertySource context,
java.lang.String categoryId,
java.lang.Object propertyDetail)
throws ConfigurationException
context - The feature to be added to the Detail attributecategoryId - The feature to be added to the Detail attributepropertyDetail - The feature to be added to the Detail attribute
ConfigurationException
protected void addDetail(java.lang.Class context,
java.lang.String categoryId,
java.lang.Object propertyDetail)
context - Likely the class of the property object.categoryId - The category for which we are an instance.propertyDetail - The object to remember.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||