Class DefaultConnectionManager

java.lang.Object
org.apache.cxf.jca.outbound.DefaultConnectionManager
All Implemented Interfaces:
Serializable, EventListener, javax.resource.spi.ConnectionEventListener, javax.resource.spi.ConnectionManager

public class DefaultConnectionManager extends Object implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener
Default Connection Manager which does not support connection pool. Connection will be destroyed upon closing by application.
See Also:
  • Constructor Details

    • DefaultConnectionManager

      public DefaultConnectionManager()
  • Method Details

    • allocateConnection

      public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
      Specified by:
      allocateConnection in interface javax.resource.spi.ConnectionManager
      Throws:
      javax.resource.ResourceException
    • connectionClosed

      public void connectionClosed(javax.resource.spi.ConnectionEvent event)
      Specified by:
      connectionClosed in interface javax.resource.spi.ConnectionEventListener
    • connectionErrorOccurred

      public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
      Specified by:
      connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener
    • localTransactionCommitted

      public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
      Specified by:
      localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener
    • localTransactionRolledback

      public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
      Specified by:
      localTransactionRolledback in interface javax.resource.spi.ConnectionEventListener
    • localTransactionStarted

      public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
      Specified by:
      localTransactionStarted in interface javax.resource.spi.ConnectionEventListener