public class SimpleConnectionManager
extends java.lang.Object
implements javax.resource.spi.ConnectionManager, javax.resource.spi.ConnectionEventListener
| Constructor and Description |
|---|
SimpleConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory connectionFactory,
javax.resource.spi.ConnectionRequestInfo info) |
void |
connectionClosed(javax.resource.spi.ConnectionEvent event) |
void |
connectionErrorOccurred(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionCommitted(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionRolledback(javax.resource.spi.ConnectionEvent event) |
void |
localTransactionStarted(javax.resource.spi.ConnectionEvent event) |
public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory connectionFactory,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
allocateConnection in interface javax.resource.spi.ConnectionManagerjavax.resource.ResourceExceptionConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo)public void connectionClosed(javax.resource.spi.ConnectionEvent event)
connectionClosed in interface javax.resource.spi.ConnectionEventListenerConnectionEventListener.connectionClosed(javax.resource.spi.ConnectionEvent)public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
localTransactionStarted in interface javax.resource.spi.ConnectionEventListenerConnectionEventListener.localTransactionStarted(javax.resource.spi.ConnectionEvent)public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListenerConnectionEventListener.localTransactionCommitted(javax.resource.spi.ConnectionEvent)public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
localTransactionRolledback in interface javax.resource.spi.ConnectionEventListenerConnectionEventListener.localTransactionRolledback(javax.resource.spi.ConnectionEvent)public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListenerConnectionEventListener.connectionErrorOccurred(javax.resource.spi.ConnectionEvent)Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.