1 51 52 package javax.activity; 53 54 public interface ActivityManager extends UserActivity { 55 56 public ActivityToken suspend() 57 throws ServiceNotRegisteredException , 58 SystemException ; 59 60 public void resume(ActivityToken activity) 61 throws InvalidActivityException , 62 InvalidParentContextException , 63 ServiceNotRegisteredException , 64 SystemException ; 65 66 public ActivityToken suspendGroup() 67 throws ServiceNotRegisteredException , 68 SystemException ; 69 70 public void resumeGroup(ActivityToken activity) 71 throws InvalidActivityException , 72 InvalidParentContextException , 73 ServiceNotRegisteredException , 74 SystemException ; 75 76 public ActivityToken suspendAll() 77 throws ServiceNotRegisteredException , 78 SystemException ; 79 80 public void resumeAll(ActivityToken activity) 81 throws InvalidActivityException , 82 InvalidParentContextException , 83 ServiceNotRegisteredException , 84 SystemException ; 85 86 public GlobalId hibernate() 87 throws ServiceNotRegisteredException , 88 InvalidActivityException , 89 SystemException ; 90 91 public void reactivate(GlobalId globalId) 92 throws ActivityCompletedException , 93 InvalidParentContextException , 94 ServiceNotRegisteredException , 95 SystemException ; 96 97 99 public void dissasociateThread(); 100 } 101 | Popular Tags |