Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.rmi.activation
Interface ActivationInstantiator  view ActivationInstantiator download ActivationInstantiator.java

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ActivationGroup, ActivationGroup_Stub

public interface ActivationInstantiator
extends java.rmi.Remote

The implementation of this interface creates (instantiates) the new remote objects in response to the activation request. The instantiator is returned by the ActivationGroup that calls ActivationSystem.activeGroup(ActivationGroupID, ActivationInstantiator, long) 55 .


Method Summary
 java.rmi.MarshalledObject newInstance(ActivationID id, ActivationDesc desc)
          Creates and instantiate a new remote object.
 

Method Detail

newInstance

public java.rmi.MarshalledObject newInstance(ActivationID id,
                                             ActivationDesc desc)
                                      throws ActivationException,
                                             java.rmi.RemoteException
Creates and instantiate a new remote object. This method performs the following tasks:
  • Finds and loads (if not already loaded) the class of the object being instantiated
  • Creates an instance of the object using its special two parameter activation constructor, the first parameter being the ActivationID and the second the java.rmi.MarshalledObject.