|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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()
Deprecated. Constructor. |
Method Summary | |
boolean |
addPropertySet(String name,
PropertySet ps)
Deprecated. Add a PropertySet to this repository. |
void |
clear()
Deprecated. Clear this repository This operation is not supported. |
PropertySet |
getPropertySet(String name)
Deprecated. Get the named PropertySet. |
String[] |
getPropertySetNames()
Deprecated. Get all the PropertySet names this contains. |
Map |
getPropertySets()
Deprecated. Get all the PropertySets this contains. |
void |
removePropertySet(String name)
Deprecated. 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 boolean addPropertySet(String name, PropertySet ps) throws UnsupportedOperationException
This operation is not supported.
addPropertySet
in interface PropertySetRepository
name
- the name to associate with ths PropertySetps
- the PropertySet object itself
UnsupportedOperationException
- always.public void clear() throws UnsupportedOperationException
This operation is not supported.
clear
in interface PropertySetRepository
UnsupportedOperationException
- always.public PropertySet getPropertySet(String name)
This will iterate over our ContentManager in reverse until we find one.
getPropertySet
in interface PropertySetRepository
name
- the name of the PropertySet
ContentManager.getPropertySet(java.lang.String)
public String[] getPropertySetNames()
This will iterate over our ContentManagers, aggregating the results of each getPropertySetNames() call.
getPropertySetNames
in interface PropertySetRepository
ContentManager.getPropertySetNames()
public Map getPropertySets()
This will iterate over our ContentManagers, aggregating the results of each getPropertySets() call.
getPropertySets
in interface PropertySetRepository
ContentManager.getPropertySets()
public void removePropertySet(String name) throws UnsupportedOperationException
This operation is not supported.
removePropertySet
in interface PropertySetRepository
name
- the name of the PropertySet to remove
UnsupportedOperationException
- always.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |