|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySetRepository
PropertySetRepository is an interface to be implemented by any part of the system that manages its own PropertySets. The PropertySetManager will maintain a mapping of property set types to property set repositories so that the appropriate repository will be queried when a PropertySet is requested.
To define a property set type to repository class mapping, create an entry in the PropertySetManager's deployment descriptor that follows this pattern:
<env-entry> <env-entry-name>repository/USER</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>com.bea.p13n.property.internal.PropertySetRepositoryImpl</env-entry-value> </env-entry>
This example maps the USER property set type to the default implementation of the PropertySetRepository interface.
PropertySet
Method Summary | |
---|---|
boolean |
addPropertySet(String name, PropertySet propertySet) Add a PropertySet to the repository. |
void |
clear() Remove all PropertySets from the repository. |
PropertySet |
getPropertySet(String name) Retrieve the given PropertySet |
String[] |
getPropertySetNames() Retrieve a list of names of all PropertySet objects in this repository |
Map |
getPropertySets() Retrieve all PropertySet objects in this repository |
void |
removePropertySet(String name) Remove a PropertySet from the repository. |
Method Detail |
---|
PropertySet getPropertySet(String name)
name
- the name of the PropertySetMap getPropertySets()
String[] getPropertySetNames()
boolean addPropertySet(String name, PropertySet propertySet) throws UnsupportedOperationException
name
- the name to associate with ths PropertySetpropertySet
- the PropertySet object itselfUnsupportedOperationException
- if this is not supportedvoid removePropertySet(String name) throws UnsupportedOperationException
name
- the name of the PropertySet to removeUnsupportedOperationException
- if this is not supportedvoid clear() throws UnsupportedOperationException
UnsupportedOperationException
- if this is not supported
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.