IT. Expert System.

Java Standard Edition (SE)

ActivationInstantiator


compact2, compact3
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


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 458 / 158726509. Delta: 0.03244 с