A DConfigBean is created by calling DConfigBean.getDConfigBean(DDBean) method, where DConfigBean is the object that provided the XPath which the DDBean represents.
A DConfigBean is a JavaBean component that presents the dynamic deployment configuration information for a Jakarta EE plugin to the deployer. It is a JavaBean. The JavaBean architecture was chosen because of its versatility in providing both simple and complex components. JavaBeans also enable the development of property sheets and property editors, as well as sophisticated customization wizards.
It is expected that a plugin vendor will provide a Property Editor for any complex datatype in a DConfigBean that a deployer needs to edit through a property sheet. The Property Editor should be implemented and made available to a tool according to the guidelines defined in the JavaBeans API Specification version 1.01.
| Modifier and Type | Method and Description |
|---|---|
| public void | addPropertyChangeListener(PropertyChangeListener
PropertyChangeListener to add pcl)Register a property listener for this bean. |
| public DConfigBean | Returns: The DConfigBean to display the server-specific properties for the standard bean.The DDBean containing the XML data to be
evaluated. bean)Return the JavaBean containing the server-specific deployment configuration information based upon the XML data provided by the DDBean. |
| public DDBean | Returns: The bean class containing the XML text for this DConfigBean.Return the JavaBean containing the deployment descriptor XML text associated with this DConfigBean. |
| public String[] | Returns: a list of XPath Strings representing XML data to be retrieved or 'null' if there are none.Return a list of XPaths designating the deployment descriptor information this DConfigBean requires. |
| public void | notifyDDChange(XpathEvent
an event containing a reference to the
DDBean which has changed. event)A notification that the DDBean provided in the event has changed and this bean or its child beans need to reevaluate themselves. |
| public void | removeDConfigBean(DConfigBean
The child DConfigBean to be removed. bean)Remove a child DConfigBean from this bean. |
| public void | removePropertyChangeListener(PropertyChangeListener
Listener to remove. pcl)Unregister a property listener for this bean. |
| addPropertyChangeListener | back to summary |
|---|---|
| public void addPropertyChangeListener(PropertyChangeListener pcl) Register a property listener for this bean.
| |
| getDConfigBean | back to summary |
|---|---|
| public DConfigBean getDConfigBean(DDBean bean) throws ConfigurationException Return the JavaBean containing the server-specific deployment configuration information based upon the XML data provided by the DDBean.
| |
| getDDBean | back to summary |
|---|---|
| public DDBean getDDBean() Return the JavaBean containing the deployment descriptor XML text associated with this DConfigBean.
| |
| getXpaths | back to summary |
|---|---|
| public String[] getXpaths() Return a list of XPaths designating the deployment descriptor information this DConfigBean requires. A given server vendor will need to specify some server-specific information. Each String returned by this method is an XPath describing a certain portion of the standard deployment descriptor for which there is corresponding server-specific configuration.
| |
| notifyDDChange | back to summary |
|---|---|
| public void notifyDDChange(XpathEvent event) A notification that the DDBean provided in the event has changed and this bean or its child beans need to reevaluate themselves.
| |
| removeDConfigBean | back to summary |
|---|---|
| public void removeDConfigBean(DConfigBean bean) throws BeanNotFoundException Remove a child DConfigBean from this bean.
| |
| removePropertyChangeListener | back to summary |
|---|---|
| public void removePropertyChangeListener(PropertyChangeListener pcl) Unregister a property listener for this bean.
| |