01: package org.enhydra.shark.api.internal.working;
02:
03: /**
04: * Since Shark tends to be a transaction oriented, this is
05: * the interface that the kernel uses to signal operations on the
06: * transaction.
07: *
08: * @author Sasa Bojanic
09: * @author Vladimir Puskas
10: */
11: public interface TxSynchronization {
12:
13: public void addToTransaction(String procId, WfProcessInternal proc);
14:
15: public void addToTransaction(String resUname, WfResourceInternal res);
16:
17: public void removeProcess(String procId);
18:
19: public void removeResource(String resUname);
20:
21: public WfProcessInternal getProcess(String procId);
22:
23: public WfResourceInternal getResource(String resUname);
24:
25: public void markNotReadOnly(String procId) throws Exception;
26: }
|