|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.transaction.jta.TransactionSynchronizationRegistryImpl.SynchronizationContext
protected class TransactionSynchronizationRegistryImpl.SynchronizationContext
The synchronization context attached to transaction.
| Field Summary | |
|---|---|
protected List<Synchronization> |
interposedSynchronizations
The list for synchronization. |
protected Map<Object,Object> |
resourceMap
The map for resource. |
| Constructor Summary | |
|---|---|
protected |
TransactionSynchronizationRegistryImpl.SynchronizationContext()
|
| Method Summary | |
|---|---|
void |
afterCompletion(int status)
|
void |
beforeCompletion()
|
Object |
getResource(Object key)
Returns the resource. |
void |
putResource(Object key,
Object resource)
Puts the resource. |
void |
registerInterposedSynchronization(Synchronization sync)
Registers the synchronization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Synchronization> interposedSynchronizations
protected Map<Object,Object> resourceMap
| Constructor Detail |
|---|
protected TransactionSynchronizationRegistryImpl.SynchronizationContext()
| Method Detail |
|---|
public void registerInterposedSynchronization(Synchronization sync)
sync - the synchronization
public void putResource(Object key,
Object resource)
key - the keyresource - the resourcepublic Object getResource(Object key)
key - the key
public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronization
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||