org.omg.PortableServer

Class _ServantActivatorStub

    • Field Detail

      • _opsClass

        public static final Class _opsClass
    • Constructor Detail

      • _ServantActivatorStub

        public _ServantActivatorStub()
    • Method Detail

      • incarnate

        public Servant incarnate(byte[] oid,
                        POA adapter)
                          throws ForwardRequest
        This operation is invoked by the POA whenever the POA receives a request for an object that is not currently active, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.
        Specified by:
        incarnate in interface ServantActivatorOperations
        Parameters:
        oid - object Id associated with the object on the request was made.
        adapter - object reference for the POA in which the object is being activated.
        Returns:
        Servant corresponding to oid is created or located by the user supplied servant manager.
        Throws:
        ForwardRequest - to indicate to the ORB that it is responsible for delivering the current request and subsequent requests to the object denoted in the forward_reference member of the exception.
      • etherealize

        public void etherealize(byte[] oid,
                       POA adapter,
                       Servant serv,
                       boolean cleanup_in_progress,
                       boolean remaining_activations)
        This operation is invoked whenever a servant for an object is deactivated, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.
        Specified by:
        etherealize in interface ServantActivatorOperations
        Parameters:
        oid - object Id associated with the object being deactivated.
        adapter - object reference for the POA in which the object was active.
        serv - contains reference to the servant associated with the object being deactivated.
        cleanup_in_progress - if TRUE indicates that destroy or deactivate is called with etherealize_objects param of TRUE. FALSE indicates that etherealize was called due to other reasons.
        remaining_activations - indicates whether the Servant Manager can destroy a servant. If set to TRUE, the Servant Manager should wait until all invocations in progress have completed.
      • _ids

        public String[] _ids()
        Description copied from class: ObjectImpl
        Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.
        Specified by:
        _ids in class ObjectImpl
        Returns:
        the array of all repository identifiers supported by this ObjectImpl instance

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

 

Document créé le 17/04/2007, dernière modification le 29/10/2018
Source du document imprimé : https://www.gaudry.be/java-api-rf-org/omg/portableserver/-servantactivatorstub.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, _ServantActivatorStub

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.