|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.transaction.support.ResourceHolderSynchronization<ConnectionHolder,javax.resource.cci.ConnectionFactory>
org.springframework.jca.cci.connection.ConnectionFactoryUtils.ConnectionSynchronization
private static class ConnectionFactoryUtils.ConnectionSynchronization
Callback for resource cleanup at the end of a non-native CCI transaction (e.g. when participating in a JTA transaction).
| Field Summary |
|---|
| Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization |
|---|
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN |
| Constructor Summary | |
|---|---|
ConnectionFactoryUtils.ConnectionSynchronization(ConnectionHolder connectionHolder,
javax.resource.cci.ConnectionFactory connectionFactory)
|
|
| Method Summary | |
|---|---|
protected void |
releaseResource(ConnectionHolder resourceHolder,
javax.resource.cci.ConnectionFactory resourceKey)
Release the given resource (after it has been unbound from the thread). |
| Methods inherited from class org.springframework.transaction.support.ResourceHolderSynchronization |
|---|
afterCommit, afterCompletion, beforeCommit, beforeCompletion, cleanupResource, flush, flushResource, processResourceAfterCommit, resume, shouldReleaseBeforeCompletion, shouldUnbindAtCompletion, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionFactoryUtils.ConnectionSynchronization(ConnectionHolder connectionHolder,
javax.resource.cci.ConnectionFactory connectionFactory)
| Method Detail |
|---|
protected void releaseResource(ConnectionHolder resourceHolder,
javax.resource.cci.ConnectionFactory resourceKey)
ResourceHolderSynchronization
releaseResource in class ResourceHolderSynchronization<ConnectionHolder,javax.resource.cci.ConnectionFactory>resourceHolder - the resource holder to processresourceKey - the key that the ResourceHolder was bound for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||