JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Class
java.rmi.activation.ActivationID

Packages that use ActivationID
java.rmi.activation Provides support for RMI Object Activation. 
 

Uses of ActivationID in java.rmi.activation
 

Methods in java.rmi.activation that return ActivationID
 ActivationID ActivationSystem.registerObject(ActivationDesc desc)
          The registerObject method is used to register an activation descriptor, desc, and obtain an activation identifier for a activatable remote object.
protected  ActivationID Activatable.getID()
          Returns the object's activation identifier.
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port)
          This exportObject method may be invoked explicitly by an "activatable" object, that does not extend the Activatable class, in order to both a) register the object's activation descriptor, constructed from the supplied location, and data, with the activation system (so the object can be activated), and b) export the remote object, obj, on a specific port (if port=0, then an anonymous port is chosen).
static ActivationID Activatable.exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          This exportObject method may be invoked explicitly by an "activatable" object, that does not extend the Activatable class, in order to both a) register the object's activation descriptor, constructed from the supplied location, and data, with the activation system (so the object can be activated), and b) export the remote object, obj, on a specific port (if port=0, then an anonymous port is chosen).
 

Methods in java.rmi.activation with parameters of type ActivationID
 MarshalledObject ActivationGroup_Stub.newInstance(ActivationID id, ActivationDesc desc)
          Stub method for ActivationGroup.newInstance.
 boolean ActivationGroup.inactiveObject(ActivationID id)
          The group's inactiveObject method is called indirectly via a call to the Activatable.inactive method.
abstract  void ActivationGroup.activeObject(ActivationID id, Remote obj)
          The group's activeObject method is called when an object is exported (either by Activatable object construction or an explicit call to Activatable.exportObject.
protected  void ActivationGroup.activeObject(ActivationID id, MarshalledObject mobj)
          This protected method is necessary for subclasses to make the activeObject callback to the group's monitor.
 void ActivationMonitor.inactiveObject(ActivationID id)
          An activation group calls its monitor's inactiveObject method when an object in its group becomes inactive (deactivates).
 void ActivationMonitor.activeObject(ActivationID id, MarshalledObject obj)
          Informs that an object is now active.
 MarshalledObject ActivationInstantiator.newInstance(ActivationID id, ActivationDesc desc)
          The activator calls an instantiator's newInstance method in order to recreate in that group an object with the activation identifier, id, and descriptor, desc.
 void ActivationSystem.unregisterObject(ActivationID id)
          Remove the activation id and associated descriptor previously registered with the ActivationSystem; the object can no longer be activated via the object's activation id.
 ActivationDesc ActivationSystem.setActivationDesc(ActivationID id, ActivationDesc desc)
          Set the activation descriptor, desc for the object with the activation identifier, id.
 ActivationDesc ActivationSystem.getActivationDesc(ActivationID id)
          Returns the activation descriptor, for the object with the activation identifier, id.
 MarshalledObject Activator.activate(ActivationID id, boolean force)
          Activate the object associated with the activation identifier, id.
static boolean Activatable.inactive(ActivationID id)
          Informs the system that the object with the corresponding activation id is currently inactive.
static void Activatable.unregister(ActivationID id)
          Revokes previous registration for the activation descriptor associated with id.
static Remote Activatable.exportObject(Remote obj, ActivationID id, int port)
          Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
static Remote Activatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
 

Constructors in java.rmi.activation with parameters of type ActivationID
Activatable(ActivationID id, int port)
          Constructor used to activate/export the object on a specified port.
Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor used to activate/export the object on a specified port.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.