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

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.XmlBeanSupport
      extended by org.apache.geronimo.connector.deployment.jsr88.ConfigHolder
          extended by org.apache.geronimo.connector.deployment.jsr88.ResourceAdapterInstance

public class ResourceAdapterInstance
extends ConfigHolder

Represents /connector/resourceadapter/resourceadapter-instance in the Geronimo Connector deployment plan. The settings here correspond to /connector/resourceadapter in the J2EE plan, but since there can be several instances per resource adapter, it's not 1:1 and this is not a DConfigBean.


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
ResourceAdapterInstance()
          Present so a tool can create a new one
ResourceAdapterInstance(DDBean resourceAdapter, org.apache.geronimo.xbeans.geronimo.GerResourceadapterInstanceType instance)
           
 
Method Summary
protected  org.apache.geronimo.xbeans.geronimo.GerConfigPropertySettingType createConfigProperty()
           
protected  org.apache.geronimo.xbeans.geronimo.GerConfigPropertySettingType[] getConfigProperties()
           
protected  org.apache.geronimo.xbeans.geronimo.GerResourceadapterInstanceType getResourceAdapterInstance()
           
 String getResourceAdapterName()
           
protected  org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
           
 GBeanLocator getWorkManager()
           
 void reconfigure()
           
protected  void removeConfigProperty(int index)
           
 void setResourceAdapterName(String name)
           
 void setWorkManager(GBeanLocator locator)
           
 
Methods inherited from class org.apache.geronimo.connector.deployment.jsr88.ConfigHolder
clearNullSettings, configure, getConfigPropertySetting, getConfigPropertySetting
 
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
 

Constructor Detail

ResourceAdapterInstance

public ResourceAdapterInstance()
Present so a tool can create a new one


ResourceAdapterInstance

public ResourceAdapterInstance(DDBean resourceAdapter,
                               org.apache.geronimo.xbeans.geronimo.GerResourceadapterInstanceType instance)
Method Detail

getResourceAdapterInstance

protected org.apache.geronimo.xbeans.geronimo.GerResourceadapterInstanceType getResourceAdapterInstance()

reconfigure

public void reconfigure()
Specified by:
reconfigure in class ConfigHolder

createConfigProperty

protected org.apache.geronimo.xbeans.geronimo.GerConfigPropertySettingType createConfigProperty()
Specified by:
createConfigProperty in class ConfigHolder

getConfigProperties

protected org.apache.geronimo.xbeans.geronimo.GerConfigPropertySettingType[] getConfigProperties()
Specified by:
getConfigProperties in class ConfigHolder

removeConfigProperty

protected void removeConfigProperty(int index)
Specified by:
removeConfigProperty in class ConfigHolder

getResourceAdapterName

public String getResourceAdapterName()

setResourceAdapterName

public void setResourceAdapterName(String name)

getWorkManager

public GBeanLocator getWorkManager()

setWorkManager

public void setWorkManager(GBeanLocator locator)

getSchemaTypeLoader

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


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