| Package | Description | 
|---|---|
| java.rmi.activation | Provides support for RMI Object Activation. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | UnknownGroupExceptionAn  UnknownGroupExceptionis thrown by methods of classes and
 interfaces in thejava.rmi.activationpackage when theActivationGroupIDparameter to the method is determined to be
 invalid, i.e., not known by theActivationSystem. | 
| class  | UnknownObjectExceptionAn  UnknownObjectExceptionis thrown by methods of classes and
 interfaces in thejava.rmi.activationpackage when theActivationIDparameter to the method is determined to be
 invalid. | 
| Modifier and Type | Method and Description | 
|---|---|
| MarshalledObject<? extends Remote> | Activator. activate(ActivationID id,
        boolean force)Activate the object associated with the activation identifier,
  id. | 
| Remote | ActivationID. activate(boolean force)Activate the object for this id. | 
| ActivationMonitor | ActivationSystem. activeGroup(ActivationGroupID id,
           ActivationInstantiator group,
           long incarnation)Callback to inform activation system that group is now
 active. | 
| protected void | ActivationGroup. activeObject(ActivationID id,
            MarshalledObject<? extends Remote> mobj)This protected method is necessary for subclasses to
 make the  activeObjectcallback to the group's
 monitor. | 
| abstract void | ActivationGroup. activeObject(ActivationID id,
            Remote obj)The group's  activeObjectmethod is called when an
 object is exported (either byActivatableobject
 construction or an explicit call toActivatable.exportObject. | 
| static ActivationGroup | ActivationGroup. createGroup(ActivationGroupID id,
           ActivationGroupDesc desc,
           long incarnation)Create and set the activation group for the current VM. | 
| 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. | 
| ActivationDesc | ActivationSystem. getActivationDesc(ActivationID id)Returns the activation descriptor, for the object with the activation
 identifier,  id. | 
| ActivationGroupDesc | ActivationSystem. getActivationGroupDesc(ActivationGroupID id)Returns the activation group descriptor, for the group
 with the activation group identifier,  id. | 
| static ActivationSystem | ActivationGroup. getSystem()Returns the activation system for the VM. | 
| static boolean | Activatable. inactive(ActivationID id)Informs the system that the object with the corresponding activation
  idis currently inactive. | 
| boolean | ActivationGroup. inactiveObject(ActivationID id)The group's  inactiveObjectmethod is called
 indirectly via a call to theActivatable.inactivemethod. | 
| MarshalledObject<? extends Remote> | ActivationInstantiator. newInstance(ActivationID id,
           ActivationDesc desc)The activator calls an instantiator's  newInstancemethod in order to recreate in that group an object with the
 activation identifier,id, and descriptor,desc. | 
| MarshalledObject | ActivationGroup_Stub. newInstance(ActivationID id,
           ActivationDesc desc)Stub method for  ActivationGroup.newInstance. | 
| static Remote | Activatable. register(ActivationDesc desc)Register an object descriptor for an activatable remote
 object so that is can be activated on demand. | 
| ActivationGroupID | ActivationSystem. registerGroup(ActivationGroupDesc desc)Register the activation group. | 
| ActivationID | ActivationSystem. registerObject(ActivationDesc desc)The  registerObjectmethod is used to register an
 activation descriptor,desc, and obtain an
 activation identifier for a activatable remote object. | 
| ActivationDesc | ActivationSystem. setActivationDesc(ActivationID id,
                 ActivationDesc desc)Set the activation descriptor,  descfor the object with
 the activation identifier,id. | 
| ActivationGroupDesc | ActivationSystem. setActivationGroupDesc(ActivationGroupID id,
                      ActivationGroupDesc desc)Set the activation group descriptor,  descfor the object
 with the activation group identifier,id. | 
| static void | ActivationGroup. setSystem(ActivationSystem system)Set the activation system for the VM. | 
| static void | Activatable. unregister(ActivationID id)Revokes previous registration for the activation descriptor
 associated with  id. | 
| void | ActivationSystem. unregisterGroup(ActivationGroupID id)Remove the activation group. | 
| 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. | 
| Constructor and 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
 codelocationand whose initialization
 information isdata. | 
| 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
 codelocationand whose initialization
 information isdata. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.