|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ActivationException | |
java.rmi.activation | Provides support for RMI Object Activation. |
Uses of ActivationException in java.rmi.activation |
Subclasses of ActivationException in java.rmi.activation | |
class |
UnknownGroupException
An UnknownGroupException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationGroupID parameter to the method is determined to be
invalid, i.e., not known by the ActivationSystem . |
class |
UnknownObjectException
An UnknownObjectException is thrown by methods of classes and
interfaces in the java.rmi.activation package when the
ActivationID parameter to the method is determined to be
invalid. |
Methods in java.rmi.activation that throw ActivationException | |
static Remote |
Activatable.register(ActivationDesc desc)
Register an object descriptor for an activatable remote object so that is can be activated on demand. |
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 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). |
MarshalledObject |
Activator.activate(ActivationID id,
boolean force)
Activate the object associated with the activation identifier, id . |
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. |
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. |
ActivationGroupID |
ActivationSystem.registerGroup(ActivationGroupDesc desc)
Register the activation group. |
ActivationMonitor |
ActivationSystem.activeGroup(ActivationGroupID id,
ActivationInstantiator group,
long incarnation)
Callback to inform activation system that group is now active. |
void |
ActivationSystem.unregisterGroup(ActivationGroupID id)
Remove the activation group. |
ActivationDesc |
ActivationSystem.setActivationDesc(ActivationID id,
ActivationDesc desc)
Set the activation descriptor, desc for the object with
the activation identifier, id . |
ActivationGroupDesc |
ActivationSystem.setActivationGroupDesc(ActivationGroupID id,
ActivationGroupDesc desc)
Set the activation group descriptor, desc for the object
with the activation group identifier, id . |
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 . |
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 . |
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 . |
static ActivationGroup |
ActivationGroup.createGroup(ActivationGroupID id,
ActivationGroupDesc desc,
long incarnation)
Create and set the activation group for the current VM. |
static void |
ActivationGroup.setSystem(ActivationSystem system)
Set the activation system for the VM. |
static ActivationSystem |
ActivationGroup.getSystem()
Returns the activation system for the VM. |
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. |
Remote |
ActivationID.activate(boolean force)
Activate the object for this id. |
Constructors in java.rmi.activation that throw ActivationException | |
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(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(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 . |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.