java.rmi.activation
public interface ActivationInstantiator extends Remote
ActivationGroup
that calls
ActivationSystem.activeGroup(ActivationGroupID, ActivationInstantiator, long)
.Modifier and Type | Method and Description |
---|---|
MarshalledObject<? extends Remote> |
newInstance(ActivationID id,
ActivationDesc desc)
Creates and instantiate a new remote object.
|
MarshalledObject<? extends Remote> newInstance(ActivationID id, ActivationDesc desc) throws ActivationException, RemoteException
ActivationID
and the second the MarshalledObject
.id
- the id of the object being instantiateddesc
- the activation descriptor being instantiatedActivationException
- if the activation failsRemoteException
- if the remote call fails