|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jdbc.support.lob.JtaLobCreatorSynchronization
public class JtaLobCreatorSynchronization
Callback for resource cleanup at the end of a JTA transaction.
Invokes LobCreator.close()
to clean up temporary LOBs
that might have been created.
LobCreator.close()
,
Transaction.registerSynchronization(javax.transaction.Synchronization)
Constructor Summary | |
---|---|
JtaLobCreatorSynchronization(LobCreator lobCreator)
Create a JtaLobCreatorSynchronization for the given LobCreator. |
Method Summary | |
---|---|
void |
afterCompletion(int status)
|
void |
beforeCompletion()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JtaLobCreatorSynchronization(LobCreator lobCreator)
lobCreator
- the LobCreator to close after transaction completionMethod Detail |
---|
public void beforeCompletion()
beforeCompletion
in interface javax.transaction.Synchronization
public void afterCompletion(int status)
afterCompletion
in interface javax.transaction.Synchronization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |