Class AbstractManagedConnectionFactoryImpl
java.lang.Object
org.apache.cxf.jca.core.resourceadapter.ResourceBean
org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
- All Implemented Interfaces:
jakarta.resource.spi.ManagedConnectionFactory,Serializable
- Direct Known Subclasses:
ManagedConnectionFactoryImpl
public abstract class AbstractManagedConnectionFactoryImpl
extends ResourceBean
implements jakarta.resource.spi.ManagedConnectionFactory
- See Also:
-
Field Summary
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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()abstract Objectabstract ObjectcreateConnectionFactory(jakarta.resource.spi.ConnectionManager connMgr) abstract jakarta.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connReqInfo) jakarta.resource.spi.ManagedConnectionmatchManagedConnections(Set aMCSet, Subject subject, jakarta.resource.spi.ConnectionRequestInfo crInfo) voidsetLogWriter(PrintWriter aPrintWriter) protected abstract voidvalidateReference(AbstractManagedConnectionImpl conn, Subject subject) Methods 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, hashCode
-
Constructor Details
-
AbstractManagedConnectionFactoryImpl
public AbstractManagedConnectionFactoryImpl() -
AbstractManagedConnectionFactoryImpl
-
-
Method Details
-
createConnectionFactory
public abstract Object createConnectionFactory(jakarta.resource.spi.ConnectionManager connMgr) throws jakarta.resource.ResourceException - Specified by:
createConnectionFactoryin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-
createConnectionFactory
- Specified by:
createConnectionFactoryin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-
createManagedConnection
public abstract jakarta.resource.spi.ManagedConnection createManagedConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo connReqInfo) throws jakarta.resource.ResourceException - Specified by:
createManagedConnectionin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-
close
public abstract void close() throws jakarta.resource.spi.ResourceAdapterInternalException- Throws:
jakarta.resource.spi.ResourceAdapterInternalException
-
validateReference
protected abstract void validateReference(AbstractManagedConnectionImpl conn, Subject subject) throws jakarta.resource.spi.ResourceAdapterInternalException - Throws:
jakarta.resource.spi.ResourceAdapterInternalException
-
matchManagedConnections
public jakarta.resource.spi.ManagedConnection matchManagedConnections(Set aMCSet, Subject subject, jakarta.resource.spi.ConnectionRequestInfo crInfo) throws jakarta.resource.ResourceException - Specified by:
matchManagedConnectionsin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-
getLogWriter
- Specified by:
getLogWriterin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-
setLogWriter
- Specified by:
setLogWriterin interfacejakarta.resource.spi.ManagedConnectionFactory- Throws:
jakarta.resource.ResourceException
-