org.jbpm.hibernate
Class HibernateTransactionResource

java.lang.Object
  extended by org.jbpm.hibernate.HibernateTransactionResource
All Implemented Interfaces:
Resource

public class HibernateTransactionResource
extends java.lang.Object
implements Resource

Author:
Tom Baeyens

Constructor Summary
HibernateTransactionResource(org.hibernate.Transaction transaction, org.hibernate.Session session)
           
 
Method Summary
 void commit()
           
 void flush()
           
 void prepare()
           
 void rollback()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateTransactionResource

public HibernateTransactionResource(org.hibernate.Transaction transaction,
                                    org.hibernate.Session session)
Method Detail

flush

public void flush()

prepare

public void prepare()
Specified by:
prepare in interface Resource

commit

public void commit()
Specified by:
commit in interface Resource

rollback

public void rollback()
Specified by:
rollback in interface Resource

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object