Package org.apache.cxf.jca.outbound
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) voidconnectionClosed(javax.resource.spi.ConnectionEvent event) voidconnectionErrorOccurred(javax.resource.spi.ConnectionEvent event) voidlocalTransactionCommitted(javax.resource.spi.ConnectionEvent event) voidlocalTransactionRolledback(javax.resource.spi.ConnectionEvent event) voidlocalTransactionStarted(javax.resource.spi.ConnectionEvent event)
-
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:
allocateConnectionin interfacejavax.resource.spi.ConnectionManager- Throws:
javax.resource.ResourceException
-
connectionClosed
public void connectionClosed(javax.resource.spi.ConnectionEvent event) - Specified by:
connectionClosedin interfacejavax.resource.spi.ConnectionEventListener
-
connectionErrorOccurred
public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event) - Specified by:
connectionErrorOccurredin interfacejavax.resource.spi.ConnectionEventListener
-
localTransactionCommitted
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event) - Specified by:
localTransactionCommittedin interfacejavax.resource.spi.ConnectionEventListener
-
localTransactionRolledback
public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event) - Specified by:
localTransactionRolledbackin interfacejavax.resource.spi.ConnectionEventListener
-
localTransactionStarted
public void localTransactionStarted(javax.resource.spi.ConnectionEvent event) - Specified by:
localTransactionStartedin interfacejavax.resource.spi.ConnectionEventListener
-