|
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 |
@ControlInterface
public interface PropertySetManager
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 an instance of the PropertySetManager EJB, which supports all of the methods from this control. An instance of the PropertySetManager EJB can be obtained with the following code:
com.bea.p13n.property.PropertySetManagerHome home = com.bea.p13n.util.JndiHelper.lookupNarrow("java:comp/env/ejb/PropertySetManager", com.bea.p13n.property.PropertySetManagerHome.class); com.bea.p13n.property.PropertySetManager propSetMgr = home.create();
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
Method Summary | |
---|---|
PropertySet |
getPropertySet(String type, String name) Deprecated Use the equivalent method from the PropertySetManager EJB |
Map |
getPropertySets(String type) Deprecated Use the equivalent method from the PropertySetManager EJB |
String |
getPropertySetXml(String type, String name) Deprecated Use the equivalent method from the PropertySetManager EJB |
Method Detail |
---|
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 PropertySetP13nControlException
- if remote errors occurr while accessing the PropertySetManager EJBString 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 retrieveP13nControlException
- if remote errors occurr while accessing the PropertySetManager EJBMap 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 EJB
|
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.