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:
- DConfigBean, DConfigBeanRoot
public class Connector15DCBRoot
- extends DConfigBeanRootSupport
Represents "/" in a Geronimo Connector deployment plan (geronimo-ra.xml).
The only function here is to navigate to an appropriate "Connector"
DConfigBean.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connector15DCBRoot
public Connector15DCBRoot(DDBeanRoot ddBean)
getXpaths
public String[] getXpaths()
- Specified by:
getXpaths
in interface DConfigBean
- Overrides:
getXpaths
in class DConfigBeanSupport
getDConfigBean
public DConfigBean getDConfigBean(DDBean bean)
throws ConfigurationException
- Specified by:
getDConfigBean
in interface DConfigBean
- Overrides:
getDConfigBean
in class DConfigBeanSupport
- Throws:
ConfigurationException
getSchemaTypeLoader
protected org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
- Overrides:
getSchemaTypeLoader
in class XmlBeanSupport
fromXML
public void fromXML(InputStream inputStream)
throws org.apache.xmlbeans.XmlException,
IOException
- When loaded, reset the cached "connector" child
- Overrides:
fromXML
in class XmlBeanSupport
- 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.
- Overrides:
toXML
in class XmlBeanSupport
- Throws:
IOException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.