|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.content.PropertySetRepositoryImpl
Property set repository which will aggregate PropertySets from multiple, referenced ContentManager.
This will look in the "java:comp/env/ejb/ContentManagers" JNDI branch (which should be coming from the PropertySetManager's deployment environment). If that is a Context, it will load up all children of the Context as ContentManager homes and return all of their PropertySets.
Constructor Summary | |
PropertySetRepositoryImpl()
Constructor. |
Method Summary | |
boolean |
addPropertySet(java.lang.String name,
PropertySet ps)
Add a PropertySet to this repository. |
void |
clear()
Clear this repository |
PropertySet |
getPropertySet(java.lang.String name)
Get the named PropertySet. |
java.lang.String[] |
getPropertySetNames()
Get all the PropertySet names this contains. |
java.util.Map |
getPropertySets()
Get all the PropertySets this contains. |
void |
removePropertySet(java.lang.String name)
Remove a PropertySet from this repository. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PropertySetRepositoryImpl()
This will initialize the set of ContentManagers to use from the current "java:comp/env/ejb/ContentManagers" JNDI context.
Method Detail |
public PropertySet getPropertySet(java.lang.String name)
This will iterate over our ContentManager in reverse until we find one.
ContentManager.getPropertySet(java.lang.String)
public java.util.Map getPropertySets()
This will iterate over our ContentManagers, aggregating the results of each getPropertySets() call.
ContentManager.getPropertySets()
public java.lang.String[] getPropertySetNames()
This will iterate over our ContentManagers, aggregating the results of each getPropertySetNames() call.
ContentManager.getPropertySetNames()
public boolean addPropertySet(java.lang.String name, PropertySet ps) throws java.lang.UnsupportedOperationException
This operation is not supported.
public void removePropertySet(java.lang.String name) throws java.lang.UnsupportedOperationException
This operation is not supported.
public void clear() throws java.lang.UnsupportedOperationException
This operation is not supported.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |