Apache CXF API

org.apache.cxf.jca.cxf
Class AssociatedManagedConnectionFactoryImpl

java.lang.Object
  extended by org.apache.cxf.jca.core.resourceadapter.ResourceBean
      extended by org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
          extended by org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
              extended by org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl
All Implemented Interfaces:
Serializable, javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation, CXFManagedConnectionFactory

public class AssociatedManagedConnectionFactoryImpl
extends ManagedConnectionFactoryImpl
implements javax.resource.spi.ResourceAdapterAssociation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
jcaBusFactory
 
Fields inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
DEFAULT_MONITOR_POLL_INTERVAL, DEFAULT_VALUE_STRING, EJB_SERVANT_BASE_URL, EJB_SERVICE_PROPERTIES_URL, LOG_LEVEL, MONITOR_EJB_SERVICE_PROPERTIES, MONITOR_POLL_INTERVAL
 
Constructor Summary
AssociatedManagedConnectionFactoryImpl()
           
AssociatedManagedConnectionFactoryImpl(Properties props)
           
 
Method Summary
 Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
           
 boolean equals(Object o)
           
protected  Object getBootstrapContext()
           
 javax.resource.spi.ResourceAdapter getResourceAdapter()
           
 int hashCode()
           
protected  void mergeResourceAdapterProps()
          If outbound-resourceAdapter and the resourceAdapter has same property, the outbound-resourceAdapter property's value would take precedence.
protected  void registerBus()
           
 void setResourceAdapter(javax.resource.spi.ResourceAdapter aRA)
           
 
Methods inherited from class org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
close, createConnectionFactory, createManagedConnection, getBus, getEJBServantBaseURL, getEJBServicePropertiesPollInterval, getEJBServicePropertiesURL, getEJBServicePropertiesURLInstance, getLogLevel, getMonitorEJBServiceProperties, init, setEJBServantBaseURL, setEJBServicePropertiesPollInterval, setEJBServicePropertiesURL, setLogLevel, setMonitorEJBServiceProperties, validateReference
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
getLogWriter, matchManagedConnections, setLogWriter
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory
getLogWriter, matchManagedConnections, setLogWriter
 

Constructor Detail

AssociatedManagedConnectionFactoryImpl

public AssociatedManagedConnectionFactoryImpl()

AssociatedManagedConnectionFactoryImpl

public AssociatedManagedConnectionFactoryImpl(Properties props)
Method Detail

createConnectionFactory

public Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
                               throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Overrides:
createConnectionFactory in class ManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

setResourceAdapter

public void setResourceAdapter(javax.resource.spi.ResourceAdapter aRA)
                        throws javax.resource.ResourceException
Specified by:
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
Throws:
javax.resource.ResourceException

getResourceAdapter

public javax.resource.spi.ResourceAdapter getResourceAdapter()
Specified by:
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation

mergeResourceAdapterProps

protected void mergeResourceAdapterProps()
If outbound-resourceAdapter and the resourceAdapter has same property, the outbound-resourceAdapter property's value would take precedence.


registerBus

protected void registerBus()
                    throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getBootstrapContext

protected Object getBootstrapContext()
Overrides:
getBootstrapContext in class ManagedConnectionFactoryImpl

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ManagedConnectionFactory
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface javax.resource.spi.ManagedConnectionFactory
Overrides:
equals in class Object

Apache CXF API

Apache CXF