1 51 52 package javax.activity.opennested; 53 54 public interface UserOpenNested { 55 56 public void activityBegin(int timeout) 57 throws 58 javax.activity.InvalidActivityException , 59 javax.activity.TimeoutRangeException ; 60 61 public void activityCommit(Compensator compensator_object) 62 throws 63 javax.activity.NoActivityException , 64 javax.transaction.HeuristicMixedException , 65 javax.transaction.HeuristicRollbackException , 66 javax.activity.ActivityPendingException , 67 javax.activity.ContextPendingException , 68 javax.activity.NotOriginatorException , 69 ActivityRolledBackException, 70 HeuristicCompensateException, 71 HeuristicNoCompensateException; 72 73 public void activityRollback() 74 throws javax.activity.NoActivityException , HeuristicNoCompensateException; 75 76 public void activitySetRollbackOnly() 77 throws javax.activity.NoActivityException ; 78 79 public void activitySetTimeout(int seconds) 80 throws javax.activity.TimeoutRangeException ; 81 82 public int getActivityTimeout(); 83 84 public int activityGetStatus(); 85 86 public java.lang.String getActivityName(); 87 88 public java.lang.String getTransactionName(); 89 90 public ONTActivity suspend(); 92 public void resume(ONTActivity activity); 93 } 94 | Popular Tags |