Uses of Class
java.rmi.MarshalledObject
-
Packages that use MarshalledObject Package Description java.rmi.activation Provides support for RMI Object Activation.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server. -
-
Uses of MarshalledObject in java.rmi.activation
Methods in java.rmi.activation that return MarshalledObject Modifier and Type Method Description MarshalledObject<? extends Remote>
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<?>
ActivationGroupDesc. getData()
Returns the group's initialization data.MarshalledObject
ActivationGroup_Stub. newInstance(ActivationID id, ActivationDesc desc)
Stub method forActivationGroup.newInstance
.MarshalledObject<? extends Remote>
ActivationInstantiator. newInstance(ActivationID id, ActivationDesc desc)
The activator calls an instantiator'snewInstance
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 Modifier and Type Method Description protected void
ActivationGroup. activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)
This protected method is necessary for subclasses to make theactiveObject
callback to the group's monitor.void
ActivationMonitor. activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)
Informs that an object is now active.static ActivationID
Activatable. exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)
Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port.static ActivationID
Activatable. exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port, and the specified client and server socket factories.Constructors in java.rmi.activation with parameters of type MarshalledObject Constructor Description Activatable(String location, MarshalledObject<?> data, boolean restart, int port)
Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port.Activatable(String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port, and specified client and server socket factories.ActivationDesc(String className, String location, MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name isclassName
, that can be loaded from the codelocation
and whose initialization information isdata
.ActivationDesc(String className, String location, MarshalledObject<?> data, boolean restart)
Constructs an object descriptor for an object whose class name isclassName
, that can be loaded from the codelocation
and whose initialization information isdata
.ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name isclassName
that can be loaded from the codelocation
and whose initialization information isdata
.ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject<?> data, boolean restart)
Constructs an object descriptor for an object whose class name isclassName
that can be loaded from the codelocation
and whose initialization information isdata
.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. -
Uses of MarshalledObject in javax.management.remote.rmi
-