No cache version.


Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
java.rmi.activation

Interface ActivationInstantiator

  • All Superinterfaces:
    Remote
    All Known Implementing Classes:
    ActivationGroup, ActivationGroup_Stub

    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.
    Since:
    1.2
    See Also:
    ActivationGroup
    • Method Detail

      • newInstance

        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:
        • determining the class for the object using the descriptor's getClassName method,
        • loading the class from the code location obtained from the descriptor (using the getLocation method),
        • creating an instance of the class by invoking the special "activation" constructor of the object's class that takes two arguments: the object's ActivationID, and the MarshalledObject containing object specific initialization data, and
        • returning a MarshalledObject containing the stub for the remote object it created
        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

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/activation/activationinstantiator.html/.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut