Uses of Class java.rmi.MarshalledObject (Java SE 14 & JDK 14)
Description: use: module: java.rmi, package: java.rmi, class: MarshalledObject

# 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 for `ActivationGroup.newInstance`.
  `MarshalledObject<? extends Remote>` | 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
  Modifier and Type | Method | Description
  --- | --- | ---
  `protected void` | ActivationGroup.`activeObject​(ActivationID id, MarshalledObject<? extends Remote> mobj)` | This protected method is necessary for subclasses to make the `activeObject` 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 is `className`, that can be loaded from the code `location` and whose initialization information is `data`.
  `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​(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​(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`.
  `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

  Methods in javax.management.remote.rmi with parameters of type MarshalledObject
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | RMIConnection.`addNotificationListener​(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)` | Handles the method `MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)`.
  `Integer[]` | RMIConnection.`addNotificationListeners​(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)` | Handles the method `MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)`.
  `ObjectInstance` | RMIConnection.`createMBean​(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)` | Handles the method `MBeanServerConnection.createMBean(String, ObjectName, Object[], String[])`.
  `ObjectInstance` | RMIConnection.`createMBean​(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)` | Handles the method `MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[])`.
  `Object` | RMIConnection.`invoke​(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)` | Handles the method `MBeanServerConnection.invoke(ObjectName, String, Object[], String[])`.
  `Set<ObjectInstance>` | RMIConnection.`queryMBeans​(ObjectName name, MarshalledObject query, Subject delegationSubject)` | Handles the method `MBeanServerConnection.queryMBeans(ObjectName, QueryExp)`.
  `Set<ObjectName>` | RMIConnection.`queryNames​(ObjectName name, MarshalledObject query, Subject delegationSubject)` | Handles the method `MBeanServerConnection.queryNames(ObjectName, QueryExp)`.
  `void` | RMIConnection.`removeNotificationListener​(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)` | Handles the method `MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)`.
  `void` | RMIConnection.`setAttribute​(ObjectName name, MarshalledObject attribute, Subject delegationSubject)` | Handles the method `MBeanServerConnection.setAttribute(ObjectName, Attribute)`.
  `AttributeList` | RMIConnection.`setAttributes​(ObjectName name, MarshalledObject attributes, Subject delegationSubject)` | Handles the method `MBeanServerConnection.setAttributes(ObjectName, AttributeList)`.