| 
 | Préférences Moteurs de recherche | ||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0 
java.rmi.activation
 | |||||||||||||||
| Constructor Summary | |
|---|---|
| ActivationID(Activator activator)The constructor for ActivationIDtakes a single
 argument, activator, that specifies a remote reference to the
 activator responsible for activating the object associated with
 this identifier. | |
| Method Summary | |
|---|---|
|  Remote | activate(boolean force)Activate the object for this id. | 
|  boolean | equals(Object obj)Compares two activation ids for content equality. | 
|  int | hashCode()Returns a hashcode for the activation id. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ActivationID(Activator activator)
ActivationID takes a single
 argument, activator, that specifies a remote reference to the
 activator responsible for activating the object associated with
 this identifier. An instance of ActivationID is globally
 unique.
activator - reference to the activator responsible for
 activating the object| Method Detail | 
|---|
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException
force - if true, forces the activator to contact the group
 when activating the object (instead of returning a cached reference);
 if false, returning a cached value is acceptable.
ActivationException - if activation fails
UnknownObjectException - if the object is unknown
RemoteException - if remote call failspublic int hashCode()
Hashtablepublic boolean equals(Object obj)
obj - the Object to compare with
Hashtable