站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 deployment API Documentation 英文版文档

DConfigBeanImpl (JBoss JSR-88 Deployment API) - JBoss 4.0.1 sp1 deployment API Documentation 英文版文档


org.jboss.deployment.spi
Class DConfigBeanImpl

java.lang.Object
  extended byorg.jboss.deployment.spi.DConfigBeanImpl
All Implemented Interfaces:
javax.enterprise.deploy.spi.DConfigBean
Direct Known Subclasses:
DConfigBeanRootImpl

public class DConfigBeanImpl
extends Object
implements javax.enterprise.deploy.spi.DConfigBean

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.

Version:
$Revision: 1.1.1.1 $
Author:
thomas.diesler@jboss.org

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

DConfigBeanImpl

public DConfigBeanImpl()
Method Detail

getDDBean

public javax.enterprise.deploy.model.DDBean getDDBean()
Get the XML text for this configuration

Specified by:
getDDBean in interface javax.enterprise.deploy.spi.DConfigBean
Returns:
the xml text

getXpaths

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

Specified by:
getXpaths in interface javax.enterprise.deploy.spi.DConfigBean
Returns:
the xpaths

getDConfigBean

public javax.enterprise.deploy.spi.DConfigBean getDConfigBean(javax.enterprise.deploy.model.DDBean bean)
                                                       throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
Return the JavaBean containing server specific deployment information

Specified by:
getDConfigBean in interface javax.enterprise.deploy.spi.DConfigBean
Parameters:
bean - the xml data to be evaluated
Returns:
the server specific configuration
Throws:
javax.enterprise.deploy.spi.exceptions.ConfigurationException - for errors generating the configuring bean

removeDConfigBean

public void removeDConfigBean(javax.enterprise.deploy.spi.DConfigBean bean)
                       throws javax.enterprise.deploy.spi.exceptions.BeanNotFoundException
Remove a child

Specified by:
removeDConfigBean in interface javax.enterprise.deploy.spi.DConfigBean
Parameters:
bean - the child
Throws:
javax.enterprise.deploy.spi.exceptions.BeanNotFoundException - when the bean is not found

notifyDDChange

public 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

Specified by:
notifyDDChange in interface javax.enterprise.deploy.spi.DConfigBean
Parameters:
event - the event

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener

Specified by:
addPropertyChangeListener in interface javax.enterprise.deploy.spi.DConfigBean
Parameters:
listener - the listener

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener

Specified by:
removePropertyChangeListener in interface javax.enterprise.deploy.spi.DConfigBean
Parameters:
listener - the listener


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.