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.
ActivationGroup
MarshalledObject<? extends Remote> 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:
getClassName
method, getLocation
method), ActivationID
, and the MarshalledObject
containing object specific initialization data, and id
- the object's activation identifierdesc
- the object's descriptorActivationException
- if object activation failsRemoteException
- if remote call fails
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.