01: package org.jbpm.tx;
02:
03: import org.jbpm.svc.Service;
04:
05: public class TxService implements Service {
06:
07: private static final long serialVersionUID = 1L;
08:
09: boolean isRollbackOnly = false;
10:
11: public void close() {
12: }
13:
14: public boolean isRollbackOnly() {
15: return isRollbackOnly;
16: }
17:
18: public void setRollbackOnly() {
19: isRollbackOnly = true;
20: }
21: }
|