Class ManagedConnectionImpl

java.lang.Object
org.apache.cxf.jca.outbound.ManagedConnectionImpl
All Implemented Interfaces:
jakarta.resource.spi.ManagedConnection

public class ManagedConnectionImpl extends Object implements jakarta.resource.spi.ManagedConnection
Represents a "physical" connection to EIS, which provides access to target web service. ManagedConnectionImpl creates connection handles for applications to use the connection backed by this object.
  • Constructor Details

  • Method Details

    • addConnectionEventListener

      public void addConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener)
      Specified by:
      addConnectionEventListener in interface jakarta.resource.spi.ManagedConnection
    • associateConnection

      public void associateConnection(Object connection) throws jakarta.resource.ResourceException
      Specified by:
      associateConnection in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • cleanup

      public void cleanup() throws jakarta.resource.ResourceException
      Specified by:
      cleanup in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • destroy

      public void destroy() throws jakarta.resource.ResourceException
      Specified by:
      destroy in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • getConnection

      public Object getConnection(Subject subject, jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo) throws jakarta.resource.ResourceException
      Specified by:
      getConnection in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • getLocalTransaction

      public jakarta.resource.spi.LocalTransaction getLocalTransaction() throws jakarta.resource.ResourceException
      Specified by:
      getLocalTransaction in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • getLogWriter

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

      public jakarta.resource.spi.ManagedConnectionMetaData getMetaData() throws jakarta.resource.ResourceException
      Specified by:
      getMetaData in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • getXAResource

      public XAResource getXAResource() throws jakarta.resource.ResourceException
      Specified by:
      getXAResource in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • removeConnectionEventListener

      public void removeConnectionEventListener(jakarta.resource.spi.ConnectionEventListener listener)
      Specified by:
      removeConnectionEventListener in interface jakarta.resource.spi.ManagedConnection
    • setLogWriter

      public void setLogWriter(PrintWriter out) throws jakarta.resource.ResourceException
      Specified by:
      setLogWriter in interface jakarta.resource.spi.ManagedConnection
      Throws:
      jakarta.resource.ResourceException
    • getRequestInfo

      public jakarta.resource.spi.ConnectionRequestInfo getRequestInfo()
    • getManagedConnectionFactoryImpl

      public ManagedConnectionFactoryImpl getManagedConnectionFactoryImpl()