Class TransactionBeginEvent
- java.lang.Object
-
- org.openbravo.client.kernel.event.TransactionBeginEvent
-
public class TransactionBeginEvent extends Object
The event object send out when a transaction is started. To receive this event, create a class with a method which has this signature: public void onTransactionBegin(@Observes TransactionBeginEvent event) { Note, the method name is unimportant, the @Observes EntityNewEvent specifies that this method will be called before persisting a new instance.- Author:
- mtaal
- See Also:
OBInterceptor.afterTransactionBegin(Transaction)
-
-
Constructor Summary
Constructors Constructor Description TransactionBeginEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.Transaction
getTransaction()
void
setTransaction(org.hibernate.Transaction transaction)
-