Package org.apache.cxf.jca.cxf
Class AssociatedManagedConnectionFactoryImpl
- java.lang.Object
-
- org.apache.cxf.jca.core.resourceadapter.ResourceBean
-
- org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
-
- org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
-
- 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
Constructors Constructor Description AssociatedManagedConnectionFactoryImpl()AssociatedManagedConnectionFactoryImpl(Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateConnectionFactory(javax.resource.spi.ConnectionManager connMgr)booleanequals(Object o)protected ObjectgetBootstrapContext()javax.resource.spi.ResourceAdaptergetResourceAdapter()inthashCode()protected voidmergeResourceAdapterProps()If outbound-resourceAdapter and the resourceAdapter has same property, the outbound-resourceAdapter property's value would take precedence.protected voidregisterBus()voidsetResourceAdapter(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
-
-
-
-
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:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Overrides:
createConnectionFactoryin classManagedConnectionFactoryImpl- Throws:
javax.resource.ResourceException
-
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter aRA) throws javax.resource.ResourceException- Specified by:
setResourceAdapterin interfacejavax.resource.spi.ResourceAdapterAssociation- Throws:
javax.resource.ResourceException
-
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Specified by:
getResourceAdapterin interfacejavax.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:
getBootstrapContextin classManagedConnectionFactoryImpl
-
hashCode
public int hashCode()
-
-