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:
  • Constructor Details

    • AbstractManagedConnectionFactoryImpl

      public AbstractManagedConnectionFactoryImpl()
    • AbstractManagedConnectionFactoryImpl

      public AbstractManagedConnectionFactoryImpl(Properties props)
  • Method Details

    • createConnectionFactory

      public abstract Object createConnectionFactory(jakarta.resource.spi.ConnectionManager connMgr) throws jakarta.resource.ResourceException
      Specified by:
      createConnectionFactory in interface jakarta.resource.spi.ManagedConnectionFactory
      Throws:
      jakarta.resource.ResourceException
    • createConnectionFactory

      public abstract Object createConnectionFactory() throws jakarta.resource.ResourceException
      Specified by:
      createConnectionFactory in interface jakarta.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:
      createManagedConnection in interface jakarta.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:
      matchManagedConnections in interface jakarta.resource.spi.ManagedConnectionFactory
      Throws:
      jakarta.resource.ResourceException
    • getLogWriter

      public PrintWriter getLogWriter() throws jakarta.resource.ResourceException
      Specified by:
      getLogWriter in interface jakarta.resource.spi.ManagedConnectionFactory
      Throws:
      jakarta.resource.ResourceException
    • setLogWriter

      public void setLogWriter(PrintWriter aPrintWriter) throws jakarta.resource.ResourceException
      Specified by:
      setLogWriter in interface jakarta.resource.spi.ManagedConnectionFactory
      Throws:
      jakarta.resource.ResourceException