|
|||||||||
| Home >> All >> java >> rmi >> [ activation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.rmi.activation
Class ActivationID

java.lang.Objectjava.rmi.activation.ActivationID
- All Implemented Interfaces:
- java.io.Serializable
- public class ActivationID
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
Denotes the object that can be activated over time. The instance of the ActivationID for the given object can be obtained in the following ways:
- via
Activatable.register(ActivationDesc)55 - via Activatable constructor
- via Activatable.exportObject
| Field Summary | |
(package private) Activator |
activator
The activator. |
(package private) ActivationGroup |
group
The activation group that has activated the object with this activation id. |
(package private) static long |
serialVersionUID
Use SVUID for interoperability. |
(package private) java.rmi.server.UID |
uid
The UID, making this instance unique. |
| Constructor Summary | |
ActivationID(Activator an_activator)
Create a new instance with the given activator. |
|
| Method Summary | |
java.rmi.Remote |
activate(boolean force)
Activate the object. |
(package private) static boolean |
eq(java.lang.Object a,
java.lang.Object b)
Compare by .equals if both a and b are not null, compare directly if at least one of them is null. |
boolean |
equals(java.lang.Object obj)
Compares the activators for equality. |
int |
hashCode()
Returns the hash code of the activator. |
private void |
readObject(java.io.ObjectInputStream in)
Read the object from the input stream. |
java.lang.String |
toString()
Return the content based string representation. |
private void |
writeObject(java.io.ObjectOutputStream out)
Write the object to the output stream. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
static final long serialVersionUID
- Use SVUID for interoperability.
- See Also:
- Constant Field Values
activator
transient Activator activator
- The activator.
uid
transient java.rmi.server.UID uid
- The UID, making this instance unique.
group
transient ActivationGroup group
- The activation group that has activated the object with this
activation id. The field is filled in inside the group and is used
to notify the group about the request to inactivated the object.
| Constructor Detail |
ActivationID
public ActivationID(Activator an_activator)
- Create a new instance with the given activator.
| Method Detail |
activate
public java.rmi.Remote activate(boolean force) throws ActivationException, UnknownObjectException, java.rmi.RemoteException
- Activate the object.
hashCode
public int hashCode()
- Returns the hash code of the activator.
equals
public boolean equals(java.lang.Object obj)
- Compares the activators for equality.
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
- Read the object from the input stream.
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException, java.lang.ClassNotFoundException
- Write the object to the output stream.
eq
static final boolean eq(java.lang.Object a, java.lang.Object b)
- Compare by .equals if both a and b are not null, compare directly if at
least one of them is null.
toString
public java.lang.String toString()
- Return the content based string representation.
|
|||||||||
| Home >> All >> java >> rmi >> [ activation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
java.rmi.activation.ActivationID