java.rmi.activation
Interface ActivationInstantiator

All Superinterfaces:
Remote
All Known Implementing Classes:
ActivationGroup

public interface ActivationInstantiator
extends Remote

Disabled: no SafeJ information.

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.

Since:
1.2
See Also:
ActivationGroup

Method Summary
 MarshalledObject<? extends Remote> 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.
 

Method Detail

newInstance

MarshalledObject<? extends Remote> newInstance(ActivationID id,
                                               ActivationDesc desc)
                                               throws ActivationException,
                                                      RemoteException
Class is disabled.

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:

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
Since:
1.2