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

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

public class ResourceAdapter
extends XmlBeanSupport

Represents /connector/resourceadapter in the Geronimo Connector deployment plan. Note: is not a DConfigBean, because there may be more than one ResourceAdapter in the Geronimo plan per ResourceAdapter in the J2EE deployment descriptor.


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
ResourceAdapter()
           
ResourceAdapter(DDBean resourceAdapter, GerResourceadapterType ra)
           
 
Method Summary
 ConnectionDefinition[] getConnectionDefinition()
           
 ConnectionDefinition getConnectionDefinition(int index)
           
protected  GerResourceadapterType getResourceAdapter()
           
 ResourceAdapterInstance getResourceAdapterInstance()
           
protected  org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
           
 void setConnectionDefinition(ConnectionDefinition[] definitions)
           
 void setConnectionDefinition(int index, ConnectionDefinition definition)
           
 void setResourceAdapterInstance(ResourceAdapterInstance resourceAdapterInstance)
           
 
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

ResourceAdapter

public ResourceAdapter()

ResourceAdapter

public ResourceAdapter(DDBean resourceAdapter,
                       GerResourceadapterType ra)
Method Detail

getResourceAdapter

protected GerResourceadapterType getResourceAdapter()

getConnectionDefinition

public ConnectionDefinition[] getConnectionDefinition()

getConnectionDefinition

public ConnectionDefinition getConnectionDefinition(int index)

setConnectionDefinition

public void setConnectionDefinition(ConnectionDefinition[] definitions)

setConnectionDefinition

public void setConnectionDefinition(int index,
                                    ConnectionDefinition definition)

getResourceAdapterInstance

public ResourceAdapterInstance getResourceAdapterInstance()

setResourceAdapterInstance

public void setResourceAdapterInstance(ResourceAdapterInstance resourceAdapterInstance)

getSchemaTypeLoader

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


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.