org.jboss.deployment.spi.beans
Class JBossExample2ConfigBeanRoot

java.lang.Object
  extended by org.jboss.deployment.spi.beans.JBossConfigBeanProxy
      extended by org.jboss.deployment.spi.beans.JBossExample2ConfigBeanRoot
All Implemented Interfaces:
javax.enterprise.deploy.spi.DConfigBean, javax.enterprise.deploy.spi.DConfigBeanRoot

public class JBossExample2ConfigBeanRoot
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

Nested Class Summary
 class JBossExample2ConfigBeanRoot.JBossExample2OtherSubConfigBean
           
 class JBossExample2ConfigBeanRoot.JBossExample2SubElementConfigBean
           
 
Field Summary
 
Fields inherited from class org.jboss.deployment.spi.beans.JBossConfigBeanProxy
myBean, myDeployable
 
Constructor Summary
JBossExample2ConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot root)
           
 
Method Summary
 javax.enterprise.deploy.spi.DConfigBean getDConfigBean(javax.enterprise.deploy.model.DDBeanRoot arg0)
          This is the only abstract method.
 
Methods inherited from class org.jboss.deployment.spi.beans.JBossConfigBeanProxy
addPropertyChangeListener, getDConfigBean, getDDBean, getXpaths, notifyDDChange, removeDConfigBean, removePropertyChangeListener, save, setBean
 
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
 

Constructor Detail

JBossExample2ConfigBeanRoot

public JBossExample2ConfigBeanRoot(javax.enterprise.deploy.model.DDBeanRoot root)
Method Detail

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.