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:
jakarta.resource.spi.ManagedConnectionFactory,Serializable,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(jakarta.resource.spi.ConnectionManager connMgr) jakarta.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connReqInfo) protected ObjectgetBus()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 jakarta.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:
jakarta.resource.ResourceException
-
getEJBServantBaseURL
- Throws:
jakarta.resource.ResourceException
-
setEJBServantBaseURL
- Throws:
jakarta.resource.ResourceException
-
validateReference
- Specified by:
validateReferencein classAbstractManagedConnectionFactoryImpl
-
createConnectionFactory
- Specified by:
createConnectionFactoryin interfacejakarta.resource.spi.ManagedConnectionFactory- Specified by:
createConnectionFactoryin classAbstractManagedConnectionFactoryImpl- Throws:
jakarta.resource.ResourceException
-
createConnectionFactory
public Object createConnectionFactory(jakarta.resource.spi.ConnectionManager connMgr) throws jakarta.resource.ResourceException - Specified by:
createConnectionFactoryin interfacejakarta.resource.spi.ManagedConnectionFactory- Specified by:
createConnectionFactoryin classAbstractManagedConnectionFactoryImpl- Throws:
jakarta.resource.ResourceException
-
createManagedConnection
public jakarta.resource.spi.ManagedConnection createManagedConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connReqInfo) throws jakarta.resource.ResourceException - Specified by:
createManagedConnectionin interfacejakarta.resource.spi.ManagedConnectionFactory- Specified by:
createManagedConnectionin classAbstractManagedConnectionFactoryImpl- Throws:
jakarta.resource.ResourceException
-
close
public void close() throws jakarta.resource.spi.ResourceAdapterInternalException- Specified by:
closein classAbstractManagedConnectionFactoryImpl- Throws:
jakarta.resource.spi.ResourceAdapterInternalException
-
init
- Throws:
jakarta.resource.ResourceException
-
getBus
-
getBootstrapContext
-