org.apache.geronimo.deployment.plugin
Class DConfigBeanSupport

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.XmlBeanSupport
      extended by org.apache.geronimo.deployment.plugin.DConfigBeanSupport
All Implemented Interfaces:
DConfigBean
Direct Known Subclasses:
AdminObjectDCB, AdminObjectDConfigBean, ClientConfigBean, ConfigPropertySettingDConfigBean, ConnectionDefinitionDConfigBean, ConnectorDCB, DConfigBeanRootSupport, EARConfigBean, LocalRefDConfigBean, RemoteRefDConfigBean, ResourceAdapterDConfigBean, WebAppDConfigBean

public abstract class DConfigBeanSupport
extends XmlBeanSupport
implements DConfigBean


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
DConfigBeanSupport(DDBean ddBean, org.apache.xmlbeans.XmlObject xmlObject)
           
 
Method Summary
 DConfigBean getDConfigBean(DDBean bean)
           
 DDBean getDDBean()
           
 String[] getXpaths()
           
protected  String[] getXPathsForJ2ee_1_4(String[][] xpathSegments)
          Each entry in the first array is an XPath.
protected  String[] getXPathsFromNamespace(String uri, String[][] xpathSegments)
           
protected  String[] getXPathsWithPrefix(String prefix, String[][] xpathSegments)
           
 void notifyDDChange(XpathEvent event)
           
 void removeDConfigBean(DConfigBean bean)
           
protected  void setParent(DDBean ddBean, org.apache.xmlbeans.XmlObject xmlObject)
           
 
Methods inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
addPropertyChangeListener, configured, fromXML, getSchemaTypeLoader, getXmlObject, isEmpty, removePropertyChangeListener, setXmlObject, toXML
 
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, removePropertyChangeListener
 

Constructor Detail

DConfigBeanSupport

public DConfigBeanSupport(DDBean ddBean,
                          org.apache.xmlbeans.XmlObject xmlObject)
Method Detail

setParent

protected void setParent(DDBean ddBean,
                         org.apache.xmlbeans.XmlObject xmlObject)

getDDBean

public DDBean getDDBean()
Specified by:
getDDBean in interface DConfigBean

getDConfigBean

public DConfigBean getDConfigBean(DDBean bean)
                           throws ConfigurationException
Specified by:
getDConfigBean in interface DConfigBean
Throws:
ConfigurationException

getXpaths

public String[] getXpaths()
Specified by:
getXpaths in interface DConfigBean

removeDConfigBean

public void removeDConfigBean(DConfigBean bean)
                       throws BeanNotFoundException
Specified by:
removeDConfigBean in interface DConfigBean
Throws:
BeanNotFoundException

notifyDDChange

public void notifyDDChange(XpathEvent event)
Specified by:
notifyDDChange in interface DConfigBean

getXPathsWithPrefix

protected String[] getXPathsWithPrefix(String prefix,
                                       String[][] xpathSegments)

getXPathsFromNamespace

protected String[] getXPathsFromNamespace(String uri,
                                          String[][] xpathSegments)

getXPathsForJ2ee_1_4

protected String[] getXPathsForJ2ee_1_4(String[][] xpathSegments)
Each entry in the first array is an XPath. Each entry in the enclosed array is a component of that XPath (slashes omitted). so {{"foo","bar"},{"baz","foo"}} would represent "foo/bar" and "baz/foo"



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.