org.apache.geronimo.connector.deployment.jsr88
Class Connector15DCBRoot
java.lang.Object
org.apache.geronimo.deployment.plugin.XmlBeanSupport
org.apache.geronimo.deployment.plugin.DConfigBeanSupport
org.apache.geronimo.deployment.plugin.DConfigBeanRootSupport
org.apache.geronimo.connector.deployment.jsr88.Connector15DCBRoot
- All Implemented Interfaces:
- javax.enterprise.deploy.spi.DConfigBean, javax.enterprise.deploy.spi.DConfigBeanRoot
- public class Connector15DCBRoot
- extends org.apache.geronimo.deployment.plugin.DConfigBeanRootSupport
Represents "/" in a Geronimo Connector deployment plan (geronimo-ra.xml).
The only function here is to navigate to an appropriate "Connector"
DConfigBean.
- Version:
- $Rev: 370976 $ $Date: 2006-01-21 05:22:22 +0100 (Sat, 21 Jan 2006) $
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport |
pcs |
Method Summary |
void |
fromXML(InputStream inputStream)
When loaded, reset the cached "connector" child |
javax.enterprise.deploy.spi.DConfigBean |
getDConfigBean(javax.enterprise.deploy.model.DDBean bean)
|
protected org.apache.xmlbeans.SchemaTypeLoader |
getSchemaTypeLoader()
|
String[] |
getXpaths()
|
void |
toXML(OutputStream outputStream)
A little trickery -- on a save event, temporarily remove any config-property-setting
elements with a null value, and then immediately replace them again. |
Methods inherited from class org.apache.geronimo.deployment.plugin.DConfigBeanRootSupport |
getDConfigBean |
Methods inherited from class org.apache.geronimo.deployment.plugin.DConfigBeanSupport |
getDDBean, getXPathsForJ2ee_1_4, getXPathsFromNamespace, getXPathsWithPrefix, notifyDDChange, removeDConfigBean, setParent |
Methods inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport |
addPropertyChangeListener, configured, getXmlObject, isEmpty, removePropertyChangeListener, setXmlObject |
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, getDDBean, notifyDDChange, removeDConfigBean, removePropertyChangeListener |
Connector15DCBRoot
public Connector15DCBRoot(javax.enterprise.deploy.model.DDBeanRoot ddBean)
getXpaths
public String[] getXpaths()
getDConfigBean
public javax.enterprise.deploy.spi.DConfigBean getDConfigBean(javax.enterprise.deploy.model.DDBean bean)
throws javax.enterprise.deploy.spi.exceptions.ConfigurationException
- Throws:
javax.enterprise.deploy.spi.exceptions.ConfigurationException
getSchemaTypeLoader
protected org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
fromXML
public void fromXML(InputStream inputStream)
throws org.apache.xmlbeans.XmlException,
IOException
- When loaded, reset the cached "connector" child
- Throws:
org.apache.xmlbeans.XmlException
IOException
toXML
public void toXML(OutputStream outputStream)
throws IOException
- A little trickery -- on a save event, temporarily remove any config-property-setting
elements with a null value, and then immediately replace them again. This is because
we don't want to write them out as null, but we also want to keep the objects in
sync 1:1 with the config params declared in the J2EE deployment descriptor.
- Throws:
IOException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.