|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertySetManager is a stateless session bean that provides access to property sets, through PropertySetRepositories. It also provides translation between XML and property set objects for use in the data synchronization framework.
This control has been deprecated. Instead, use the ProfileControl to get an instance of the PropertySetManager associated with that profile manager, and use the API directly on the PropertySetManager.
The PropertySetManager EJB 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.platform.property.internal.PropertySetRepositoryImpl</env-entry-value> </env-entry>
PropertySetManager
,
PropertySet
,
PropertySetRepository
Nested Class Summary |
Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
Method Summary | |
PropertySet |
getPropertySet(String type,
String name)
Deprecated. Use the ProfileControl to get the PropertySetManager associated with that profile manager and call the methods directly on the PropertySetManager. |
Map |
getPropertySets(String type)
Deprecated. Use the ProfileControl to get the PropertySetManager associated with that profile manager and call the methods directly on the PropertySetManager |
String |
getPropertySetXml(String type,
String name)
Deprecated. Use the ProfileControl to get the PropertySetManager associated with that profile manager and call the methods directly on the PropertySetManager |
Method Detail |
public PropertySet getPropertySet(String type, String name) throws P13nControlException
type
- provides the mapping of a property set type (eg, USER) with its data repository.
See javadocs above.name
- the name of the PropertySet
P13nControlException
- if remote errors occurr while accessing the
PropertySetManager EJBpublic Map getPropertySets(String type) throws P13nControlException
type
- provides the mapping of a property set type (eg, USER) with its data repository
See javadocs above.
P13nControlException
- if remote errors occurr while accessing the
PropertySetManager EJBpublic String getPropertySetXml(String type, String name) throws P13nControlException
type
- provides the mapping of a property set type (eg, USER) with its data repository
See javadocs above.name
- the name of the PropertySet to retrieve
P13nControlException
- if remote errors occurr while accessing the
PropertySetManager EJB
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |