/*
* Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.rmi.activation;
import java.rmi.MarshalledObject;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* 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.
*
* @author Ann Wollrath
* @see ActivationGroup
* @since 1.2
*/
public interface ActivationInstantiator extends Remote {
/**
* 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:
getClassName
method,
*
* getLocation
method),
*
* ActivationID
, and the
* MarshalledObject
containing object specific
* initialization data, and
*
*