org.jboss.deployment.spi.beans
Class JBossExample1ConfigBeanRoot
java.lang.Object
org.jboss.deployment.spi.beans.JBossConfigBeanProxy
org.jboss.deployment.spi.beans.JBossExample1ConfigBeanRoot
- All Implemented Interfaces:
- javax.enterprise.deploy.spi.DConfigBean, javax.enterprise.deploy.spi.DConfigBeanRoot
public class JBossExample1ConfigBeanRoot
- extends JBossConfigBeanProxy
- implements javax.enterprise.deploy.spi.DConfigBeanRoot
This class is an example of how to build config beans based on a number of
required xpaths for a deployment descriptor.
The required xpaths for this example class are: root-element/sub-element[@id]
root-element/sub-element/name root-element/sub-element/class
root-element/other-sub/name root-element/other-sub/description
This example class will return the xpaths as ONE list. Any attempt to get a
child bean will return a null-bean, as the children beans will not require
additional xpaths.
- Version:
- $Revision: 1.3.2.2 $
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- Author:
- Rob Stryker
Method Summary |
javax.enterprise.deploy.spi.DConfigBean |
getDConfigBean(javax.enterprise.deploy.model.DDBeanRoot arg0)
This is the only abstract method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.enterprise.deploy.spi.DConfigBean |
addPropertyChangeListener, getDConfigBean, getDDBean, getXpaths, notifyDDChange, removeDConfigBean, removePropertyChangeListener |
JBossExample1ConfigBeanRoot
public JBossExample1ConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot root)
getDConfigBean
public javax.enterprise.deploy.spi.DConfigBean getDConfigBean(javax.enterprise.deploy.model.DDBeanRoot arg0)
- Description copied from class:
JBossConfigBeanProxy
- This is the only abstract method.
- Specified by:
getDConfigBean
in interface javax.enterprise.deploy.spi.DConfigBeanRoot
- Specified by:
getDConfigBean
in class JBossConfigBeanProxy
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.