Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.springframework.orm.hibernate.support
Class AbstractLobType.JtaLobCreatorSynchronization  view AbstractLobType.JtaLobCreatorSynchronization download AbstractLobType.JtaLobCreatorSynchronization.java

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.AbstractLobType.JtaLobCreatorSynchronization
All Implemented Interfaces:
javax.transaction.Synchronization
Enclosing class:
AbstractLobType

private static class AbstractLobType.JtaLobCreatorSynchronization
extends java.lang.Object
implements javax.transaction.Synchronization

Callback for resource cleanup at the end of a JTA transaction. Invokes LobCreator.close to clean up temporary LOBs that might have been created.


Field Summary
private  boolean beforeCompletionCalled
           
private  org.springframework.jdbc.support.lob.LobCreator lobCreator
           
 
Constructor Summary
AbstractLobType.JtaLobCreatorSynchronization(org.springframework.jdbc.support.lob.LobCreator 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
 

Field Detail

lobCreator

private final org.springframework.jdbc.support.lob.LobCreator lobCreator

beforeCompletionCalled

private boolean beforeCompletionCalled
Constructor Detail

AbstractLobType.JtaLobCreatorSynchronization

public AbstractLobType.JtaLobCreatorSynchronization(org.springframework.jdbc.support.lob.LobCreator lobCreator)
Method Detail

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface javax.transaction.Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface javax.transaction.Synchronization