This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.rmi.activation
interface ActivationInstantiator
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- ActivationGroup, ActivationGroup_Stub
public interface ActivationInstantiator
extends Remote
An ActivationInstantiator
is responsible for creating
instances of "activatable" objects. A concrete subclass of
ActivationGroup
implements the newInstance
method to handle creating objects within the group.
Method Summary |
MarshalledObject |
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 .
|
newInstance
public MarshalledObject newInstance(ActivationID id,
ActivationDesc desc)
throws ActivationException,
RemoteException
-
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
. The instantiator is responsible for:
- determining the class for the object using the descriptor's
getClassName
method,
- loading the class from the code location obtained from the
descriptor (using the
getLocation
method),
- creating an instance of the class by invoking the special
"activation" constructor of the object's class that takes two
arguments: the object's
ActivationID
, and the
MarshalledObject
containing object specific
initialization data, and
- returning a MarshalledObject containing the stub for the
remote object it created
- Parameters:
id
- the object's activation identifier
desc
- the object's descriptor
- Returns:
- a marshalled object containing the serialized
representation of remote object's stub
- Throws:
ActivationException
- if object activation fails
RemoteException
- if remote call fails
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.