Package org.copperengine.core
Class AbstractWaitHook
- java.lang.Object
-
- org.copperengine.core.AbstractWaitHook
-
-
Constructor Summary
Constructors Constructor Description AbstractWaitHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onWait(Workflow<?> wf, java.sql.Connection con)
Called for one single wait invocation of the corresponding workflow instance.
-
-
-
Method Detail
-
onWait
public void onWait(Workflow<?> wf, java.sql.Connection con) throws java.lang.Exception
Description copied from interface:WaitHook
Called for one single wait invocation of the corresponding workflow instance. This method may be called multiple times, e.g. in case of a rollback with subsequent retry. Attention! You may not commit or rollback the transaction currently hold by the specified connection (if not null). This will be done by COPPER. You may just use this to hook custom code into the transaction context.
-
-