org.apache.geronimo.connector.deployment.jsr88
Class AdminObjectDCB

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.XmlBeanSupport
      extended by org.apache.geronimo.deployment.plugin.DConfigBeanSupport
          extended by org.apache.geronimo.connector.deployment.jsr88.AdminObjectDCB
All Implemented Interfaces:
DConfigBean

public class AdminObjectDCB
extends DConfigBeanSupport

Represents /connector/adminobject in a Geronimo Connector deployment plan. Corresponds to /connector/resourceadapter/adminobject in the J2EE deployment plan. Note that in an arbitrary Geronimo connector plan, there can be multiple adminobject entries per adminobject from the J2EE plan. When we load such a plan, we combine all the adminobject-instances from those adminobjects into a single Geronimo adminobject per J2EE adminobject, so if we write it out again it'll be a little different, but that way this can be a DConfigBean instead of a POJO (the loading code is in ConnectorDCB).


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
AdminObjectDCB(DDBean adminobjectDDBean, org.apache.geronimo.xbeans.geronimo.GerAdminobjectType adminobject)
           
 
Method Summary
 String getAdminObjectClass()
           
 AdminObjectInstance[] getAdminObjectInstance()
           
 AdminObjectInstance getAdminObjectInstance(int index)
           
 String getAdminObjectInterface()
           
protected  org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
           
 void setAdminObjectInstance(AdminObjectInstance[] adminObjectInstance)
           
 void setAdminObjectInstance(int index, AdminObjectInstance adminObjectInstance)
           
 
Methods inherited from class org.apache.geronimo.deployment.plugin.DConfigBeanSupport
getDConfigBean, getDDBean, getXpaths, getXPathsForJ2ee_1_4, getXPathsFromNamespace, getXPathsWithPrefix, notifyDDChange, removeDConfigBean, setParent
 
Methods inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
addPropertyChangeListener, configured, fromXML, 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

AdminObjectDCB

public AdminObjectDCB(DDBean adminobjectDDBean,
                      org.apache.geronimo.xbeans.geronimo.GerAdminobjectType adminobject)
Method Detail

getAdminObjectInterface

public String getAdminObjectInterface()

getAdminObjectClass

public String getAdminObjectClass()

getAdminObjectInstance

public AdminObjectInstance[] getAdminObjectInstance()

setAdminObjectInstance

public void setAdminObjectInstance(AdminObjectInstance[] adminObjectInstance)

getAdminObjectInstance

public AdminObjectInstance getAdminObjectInstance(int index)

setAdminObjectInstance

public void setAdminObjectInstance(int index,
                                   AdminObjectInstance adminObjectInstance)

getSchemaTypeLoader

protected org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
Overrides:
getSchemaTypeLoader in class XmlBeanSupport


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