1 51 52 package javax.activity.coordination; 53 54 import javax.activity.ActivityCoordinator ; 55 import javax.activity.CoordinationInformation ; 56 import javax.activity.Outcome ; 57 import javax.activity.Signal ; 58 import javax.activity.SignalSetActiveException ; 59 import javax.activity.SignalSetInactiveException ; 60 61 62 public interface SignalSet { 63 64 public java.lang.String getSignalSetName(); 65 66 public Signal getSignal(); 67 68 public CoordinationInformation setResponse(Outcome response) 69 throws SignalSetInactiveException ; 70 71 public Outcome getOutcome() 72 throws SignalSetActiveException ; 73 74 public void setCompletionStatus(int completionStatus, 75 int status); 76 77 public int getCompletionStatus() 78 throws SignalSetActiveException ; 79 80 public void setActivityCoordinator(ActivityCoordinator coord) 81 throws SignalSetActiveException ; 82 83 public void destroy(); 84 85 } 86 | Popular Tags |