org.omg.CORBA

Class _PolicyStub

    • Constructor Detail

      • _PolicyStub

        public _PolicyStub()
        Constructors NOTE: If the default constructor is used, the object is useless until _set_delegate (...) is called.
      • _PolicyStub

        public _PolicyStub(Delegate delegate)
        Constructs a _PolicyStub object initialized with the given Delegate object.
        Parameters:
        delegate - a Delegate Object
    • Method Detail

      • policy_type

        public int policy_type()
        Returns the constant value that corresponds to the type of the policy object. The values of the polivy objectys are allocated by the OMG. New values for PolicyType should be obtained from the OMG by sending mail to request@omg.org. In general the constant values that are allocated are defined in conjunction with the definition of the corresponding policy object.
        Specified by:
        policy_type in interface PolicyOperations
        Returns:
        the constant value that corresponds to the type of the policy object.
      • copy

        public Policy copy()
        Copies the policy object. The copy does not retain any relationships that the policy had with any domain or object.
        Specified by:
        copy in interface PolicyOperations
        Returns:
        the copy of the policy object.
      • destroy

        public void destroy()
        Destroys the policy object. It is the responsibility of the policy object to determine whether it can be destroyed.
        Specified by:
        destroy in interface PolicyOperations
      • _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

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-org/omg/corba/-policystub.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