Package org.apache.cxf.jca.cxf
Class ManagedConnectionFactoryImpl
java.lang.Object
org.apache.cxf.jca.core.resourceadapter.ResourceBean
org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
- All Implemented Interfaces:
Serializable,javax.resource.spi.ManagedConnectionFactory,CXFManagedConnectionFactory
- Direct Known Subclasses:
AssociatedManagedConnectionFactoryImpl
public class ManagedConnectionFactoryImpl
extends AbstractManagedConnectionFactoryImpl
implements CXFManagedConnectionFactory
- See Also:
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createConnectionFactory(javax.resource.spi.ConnectionManager connMgr) javax.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo) protected Objectorg.apache.cxf.BusgetBus()protected voidinit(ClassLoader appserverClassLoader) voidvoidsetEJBServicePropertiesPollInterval(Integer pollInterval) voidvoidsetLogLevel(String logLevel) voidsetMonitorEJBServiceProperties(Boolean monitor) protected voidvalidateReference(AbstractManagedConnectionImpl conn, Subject subj) Methods inherited from class org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
getLogWriter, matchManagedConnections, setLogWriterMethods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.resource.spi.ManagedConnectionFactory
equals, getLogWriter, hashCode, matchManagedConnections, setLogWriter
-
Field Details
-
jcaBusFactory
-
-
Constructor Details
-
ManagedConnectionFactoryImpl
public ManagedConnectionFactoryImpl() -
ManagedConnectionFactoryImpl
-
-
Method Details
-
setLogLevel
-
setEJBServicePropertiesURL
-
setMonitorEJBServiceProperties
-
setEJBServicePropertiesPollInterval
-
getLogLevel
-
getEJBServicePropertiesURL
-
getMonitorEJBServiceProperties
-
getEJBServicePropertiesPollInterval
-
getEJBServicePropertiesURLInstance
- Throws:
javax.resource.ResourceException
-
getEJBServantBaseURL
- Throws:
javax.resource.ResourceException
-
setEJBServantBaseURL
- Throws:
javax.resource.ResourceException
-
validateReference
- Specified by:
validateReferencein classAbstractManagedConnectionFactoryImpl
-
createConnectionFactory
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Specified by:
createConnectionFactoryin classAbstractManagedConnectionFactoryImpl- Throws:
javax.resource.ResourceException
-
createConnectionFactory
public Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr) throws javax.resource.ResourceException - Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Specified by:
createConnectionFactoryin classAbstractManagedConnectionFactoryImpl- Throws:
javax.resource.ResourceException
-
createManagedConnection
public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo) throws javax.resource.ResourceException - Specified by:
createManagedConnectionin interfacejavax.resource.spi.ManagedConnectionFactory- Specified by:
createManagedConnectionin classAbstractManagedConnectionFactoryImpl- Throws:
javax.resource.ResourceException
-
close
public void close() throws javax.resource.spi.ResourceAdapterInternalException- Specified by:
closein classAbstractManagedConnectionFactoryImpl- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
init
- Throws:
javax.resource.ResourceException
-
getBus
public org.apache.cxf.Bus getBus() -
getBootstrapContext
-