javax.enterprise.deploy.spi
Interface DConfigBean

All Known Subinterfaces:
DConfigBeanRoot (src)
All Known Implementing Classes:
DConfigBeanImpl (src) , DConfigBeanRootImpl (src)

public interface DConfigBean

A configuration associated with one or more deployment descriptors.


Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Add a property change listener
 DConfigBean (src) getDConfigBean(DDBean (src)  bean)
          Return the JavaBean containing server specific deployment information
 DDBean (src) getDDBean()
          Get the XML text for this configuration
 java.lang.String[] getXpaths()
          Get the xpaths this deployment descriptor requires
 void notifyDDChange(XpathEvent (src)  event)
          A notification that the DDBean provided has changed and that this bean or child needs re-evaluating
 void removeDConfigBean(DConfigBean (src)  bean)
          Remove a child
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Remove a property change listener
 

Method Detail

getDDBean

public DDBean (src)  getDDBean()
Get the XML text for this configuration

Returns:
the xml text

getXpaths

public java.lang.String[] getXpaths()
Get the xpaths this deployment descriptor requires

Returns:
the xpaths

getDConfigBean

public DConfigBean (src)  getDConfigBean(DDBean (src)  bean)
                           throws ConfigurationException (src) 
Return the JavaBean containing server specific deployment information

Parameters:
bean - the xml data to be evaluated
Returns:
the server specific configuration
Throws:
ConfigurationException (src) - for errors generating the configuring bean

removeDConfigBean

public void removeDConfigBean(DConfigBean (src)  bean)
                       throws BeanNotFoundException (src) 
Remove a child

Parameters:
bean - the child
Throws:
BeanNotFoundException (src) - when the bean is not found

notifyDDChange

public void notifyDDChange(XpathEvent (src)  event)
A notification that the DDBean provided has changed and that this bean or child needs re-evaluating

Parameters:
event - the event

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener

Parameters:
listener - the listener

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a property change listener

Parameters:
listener - the listener