站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.rmi.MarshalledObject - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.rmi.MarshalledObject

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

Uses of MarshalledObject in java.rmi.activation
 

Methods in java.rmi.activation that return MarshalledObject
 MarshalledObject ActivationGroupDesc.getData()
          Returns the group's initialization data.
 MarshalledObject Activator.activate(ActivationID id, boolean force)
          Activate the object associated with the activation identifier, id.
 MarshalledObject ActivationDesc.getData()
          Returns a "marshalled object" containing intialization/activation data for the object specified by this descriptor.
 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.
 

Methods in java.rmi.activation with parameters of type MarshalledObject
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).
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.activeObject(ActivationID id, MarshalledObject obj)
          Informs that an object is now active.
 

Constructors in java.rmi.activation with parameters of type MarshalledObject
ActivationGroupDesc.ActivationGroupDesc(String className, String location, MarshalledObject data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)
          Specifies an alternate group implementation and execution environment to be used for the group.
Activatable.Activatable(String location, MarshalledObject data, boolean restart, int port)
          Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) .
Activatable.Activatable(String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) .
ActivationDesc.ActivationDesc(String className, String location, MarshalledObject data)
          Constructs an object descriptor for an object whose class name is className, that can be loaded from the code location and whose initialization information is data.
ActivationDesc.ActivationDesc(String className, String location, MarshalledObject data, boolean restart)
          Constructs an object descriptor for an object whose class name is className, that can be loaded from the code location and whose initialization information is data.
ActivationDesc.ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject data)
          Constructs an object descriptor for an object whose class name is className that can be loaded from the code location and whose initialization information is data.
ActivationDesc.ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject data, boolean restart)
          Constructs an object descriptor for an object whose class name is className that can be loaded from the code location and whose initialization information is data.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.