public class _PolicyStub extends ObjectImpl implements Policy
org/omg/CORBA/_PolicyStub.java Generated by the IDL-to-Java compiler (portable), version "3.0" from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl. Saturday, July 17, 1999 12:26:20 AM PDT
| Constructor and Description | 
|---|
| _PolicyStub()Constructors
 NOTE:  If the default constructor is used, the
        object is useless until _set_delegate (...)
        is called. | 
| _PolicyStub(Delegate delegate)Constructs a  _PolicyStubobject initialized
 with the givenDelegateobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | _ids()Retrieves a string array containing the repository identifiers
 supported by this  ObjectImplobject. | 
| Policy | copy()Copies the policy object. | 
| void | destroy()Destroys the policy object. | 
| int | policy_type()Returns the constant value that corresponds to the
 type of the policy object. | 
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic _PolicyStub()
public _PolicyStub(Delegate delegate)
_PolicyStub object initialized
 with the given Delegate object.delegate - a Delegate Objectpublic int policy_type()
policy_type in interface PolicyOperationspublic Policy copy()
copy in interface PolicyOperationspublic void destroy()
destroy in interface PolicyOperationspublic String[] _ids()
ObjectImplObjectImpl object.  For example,
 for a stub, this method returns information about all the
 interfaces supported by the stub._ids in class ObjectImplObjectImpl instance 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.