1 7 8 package java.rmi.activation; 9 10 import java.rmi.Remote ; 11 import java.rmi.RemoteException ; 12 import java.rmi.activation.UnknownGroupException ; 13 import java.rmi.activation.UnknownObjectException ; 14 15 30 public interface ActivationSystem extends Remote { 31 32 33 public static final int SYSTEM_PORT = 1098; 34 35 58 public ActivationID registerObject(ActivationDesc desc) 59 throws ActivationException , UnknownGroupException , RemoteException ; 60 61 73 public void unregisterObject(ActivationID id) 74 throws ActivationException , UnknownObjectException , RemoteException ; 75 76 87 public ActivationGroupID registerGroup(ActivationGroupDesc desc) 88 throws ActivationException , RemoteException ; 89 90 109 public ActivationMonitor activeGroup(ActivationGroupID id, 110 ActivationInstantiator group, 111 long incarnation) 112 throws UnknownGroupException , ActivationException , RemoteException ; 113 114 128 public void unregisterGroup(ActivationGroupID id) 129 throws ActivationException , UnknownGroupException , RemoteException ; 130 131 138 public void shutdown() throws RemoteException ; 139 140 158 public ActivationDesc setActivationDesc(ActivationID id, 159 ActivationDesc desc) 160 throws ActivationException , UnknownObjectException , 161 UnknownGroupException , RemoteException ; 162 163 179 public ActivationGroupDesc setActivationGroupDesc(ActivationGroupID id, 180 ActivationGroupDesc desc) 181 throws ActivationException , UnknownGroupException , RemoteException ; 182 183 195 public ActivationDesc getActivationDesc(ActivationID id) 196 throws ActivationException , UnknownObjectException , RemoteException ; 197 198 210 public ActivationGroupDesc getActivationGroupDesc(ActivationGroupID id) 211 throws ActivationException , UnknownGroupException , RemoteException ; 212 } 213 | Popular Tags |