|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.deployment.spi.DConfigBeanImpl
The DConfigBean is a deployment configuration bean (DConfigBean) that is associated with one or more deployment descriptor beans, (DDBean). A DConfigBean represents a logical grouping of deployment configuration data to be presented to the Deployer. A DConfigBean provides zero or more XPaths that identifies the XML information it requires. A DConfigBean may contain other DConfigBeans and regular JavaBeans. The top most DConfigBean is a DConfigBeanRoot object which represents a single XML instance document.
Constructor Summary | |
DConfigBeanImpl()
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener |
javax.enterprise.deploy.spi.DConfigBean |
getDConfigBean(javax.enterprise.deploy.model.DDBean bean)
Return the JavaBean containing server specific deployment information |
javax.enterprise.deploy.model.DDBean |
getDDBean()
Get the XML text for this configuration |
String[] |
getXpaths()
Get the xpaths this deployment descriptor requires |
void |
notifyDDChange(javax.enterprise.deploy.model.XpathEvent event)
A notification that the DDBean provided has changed and that this bean or child needs re-evaluating |
void |
removeDConfigBean(javax.enterprise.deploy.spi.DConfigBean bean)
Remove a child |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DConfigBeanImpl()
Method Detail |
public javax.enterprise.deploy.model.DDBean getDDBean()
getDDBean
in interface javax.enterprise.deploy.spi.DConfigBean
public String[] getXpaths()
getXpaths
in interface javax.enterprise.deploy.spi.DConfigBean
public javax.enterprise.deploy.spi.DConfigBean getDConfigBean(javax.enterprise.deploy.model.DDBean bean) throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
getDConfigBean
in interface javax.enterprise.deploy.spi.DConfigBean
bean
- the xml data to be evaluated
javax.enterprise.deploy.spi.exceptions.ConfigurationException
- for errors generating the configuring beanpublic void removeDConfigBean(javax.enterprise.deploy.spi.DConfigBean bean) throws javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
removeDConfigBean
in interface javax.enterprise.deploy.spi.DConfigBean
bean
- the child
javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
- when the bean is not foundpublic void notifyDDChange(javax.enterprise.deploy.model.XpathEvent event)
notifyDDChange
in interface javax.enterprise.deploy.spi.DConfigBean
event
- the eventpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface javax.enterprise.deploy.spi.DConfigBean
listener
- the listenerpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface javax.enterprise.deploy.spi.DConfigBean
listener
- the listener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |