Java™ Platform
Standard Ed. 8
org.omg.CORBA

Class _IDLTypeStub

    • Constructor Detail

      • _IDLTypeStub

        public _IDLTypeStub()
        Constructs a default _IDLTypeStub object. NOTE: If the default constructor is used, the object is useless until the method _set_delegate has been called.
      • _IDLTypeStub

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

      • type

        public TypeCode type()
        Description copied from interface: IDLTypeOperations
        The type attribute describes the type defined by an object derived from IDLType.
        Specified by:
        type in interface IDLTypeOperations
        Returns:
        the TypeCode defined by this object.
      • def_kind

        public DefinitionKind def_kind()
        Description copied from interface: IRObjectOperations
        Returns the DefinitionKind corresponding to this Interface Repository object.
        Specified by:
        def_kind in interface IRObjectOperations
        Returns:
        the DefinitionKind corresponding to this Interface Repository object.
      • destroy

        public void destroy()
        Description copied from interface: IRObjectOperations
        Destroys this object. If the object is a Container, this method is applied to all its contents. If the object contains an IDLType attribute for an anonymous type, that IDLType is destroyed. If the object is currently contained in some other object, it is removed. If the method is invoked on a Repository or on a PrimitiveDef then the BAD_INV_ORDER exception is raised with minor value 2. An attempt to destroy an object that would leave the repository in an incoherent state causes BAD_INV_ORDER exception to be raised with the minor code 1.
        Specified by:
        destroy in interface IRObjectOperations
      • _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
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部