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

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

public class ConnectionDefinition
extends XmlBeanSupport

Represents /connector/resourceadapter/outbound-resourceadapter/connection-definition in the Geronimo Connector deployment plan. A Geronimo connection definition corresponds to a ra.xml connection definition (though there may be several Geronimo CDs for each ra.xml CD so this cannot be a DConfigBean [which would require a 1:1 mapping]). Each Geronimo connection definition may have one or more instances with different config property settings, etc.


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
ConnectionDefinition()
           
ConnectionDefinition(DDBean resourceAdapter, GerConnectionDefinitionType definition)
           
 
Method Summary
protected  GerConnectionDefinitionType getConnectionDefinition()
           
 String getConnectionFactoryInterface()
           
 ConnectionDefinitionInstance[] getConnectionInstances()
           
protected  org.apache.xmlbeans.SchemaTypeLoader getSchemaTypeLoader()
           
 void setConnectionFactoryInterface(String iface)
           
 void setConnectionInstance(ConnectionDefinitionInstance[] instances)
           
 
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

ConnectionDefinition

public ConnectionDefinition()

ConnectionDefinition

public ConnectionDefinition(DDBean resourceAdapter,
                            GerConnectionDefinitionType definition)
Method Detail

getConnectionDefinition

protected GerConnectionDefinitionType getConnectionDefinition()

getConnectionFactoryInterface

public String getConnectionFactoryInterface()

setConnectionFactoryInterface

public void setConnectionFactoryInterface(String iface)

getConnectionInstances

public ConnectionDefinitionInstance[] getConnectionInstances()

setConnectionInstance

public void setConnectionInstance(ConnectionDefinitionInstance[] instances)

getSchemaTypeLoader

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


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