org.omg.CORBA
Class _PolicyStub

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl 
      extended by org.omg.CORBA._PolicyStub
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object , Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy , PolicyOperations sample code for org.omg.CORBA.PolicyOperations definition code for org.omg.CORBA.PolicyOperations , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

public class _PolicyStub
extends ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
implements Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy

The Stub for Policy. For more information on Stub files, see "Generated Files: Stubs".

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

See Also:
Serialized Form

Constructor Summary
_PolicyStub sample code for org.omg.CORBA._PolicyStub._PolicyStub() definition code for org.omg.CORBA._PolicyStub._PolicyStub() ()
          Constructors NOTE: If the default constructor is used, the object is useless until _set_delegate (...) is called.
_PolicyStub sample code for org.omg.CORBA._PolicyStub._PolicyStub(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA._PolicyStub._PolicyStub(org.omg.CORBA.portable.Delegate) (Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate  delegate)
          Constructs a _PolicyStub object initialized with the given Delegate object.
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String [] _ids sample code for org.omg.CORBA._PolicyStub._ids() definition code for org.omg.CORBA._PolicyStub._ids() ()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy copy sample code for org.omg.CORBA._PolicyStub.copy() definition code for org.omg.CORBA._PolicyStub.copy() ()
          Copies the policy object.
 void destroy sample code for org.omg.CORBA._PolicyStub.destroy() definition code for org.omg.CORBA._PolicyStub.destroy() ()
          Destroys the policy object.
 int policy_type sample code for org.omg.CORBA._PolicyStub.policy_type() definition code for org.omg.CORBA._PolicyStub.policy_type() ()
          Returns the constant value that corresponds to the type of the policy object.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
_create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.portable.ObjectImpl._duplicate() definition code for org.omg.CORBA.portable.ObjectImpl._duplicate() , _get_delegate sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate() , _get_domain_managers sample code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() definition code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() definition code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() , _get_policy sample code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) definition code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) , _hash sample code for org.omg.CORBA.portable.ObjectImpl._hash(int) definition code for org.omg.CORBA.portable.ObjectImpl._hash(int) , _invoke sample code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) , _is_a sample code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) , _is_local sample code for org.omg.CORBA.portable.ObjectImpl._is_local() definition code for org.omg.CORBA.portable.ObjectImpl._is_local() , _non_existent sample code for org.omg.CORBA.portable.ObjectImpl._non_existent() definition code for org.omg.CORBA.portable.ObjectImpl._non_existent() , _orb sample code for org.omg.CORBA.portable.ObjectImpl._orb() definition code for org.omg.CORBA.portable.ObjectImpl._orb() , _release sample code for org.omg.CORBA.portable.ObjectImpl._release() definition code for org.omg.CORBA.portable.ObjectImpl._release() , _releaseReply sample code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) , _servant_postinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) definition code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) , _servant_preinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) definition code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) , _set_delegate sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) , _set_policy_override sample code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) , equals sample code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) definition code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) , hashCode sample code for org.omg.CORBA.portable.ObjectImpl.hashCode() definition code for org.omg.CORBA.portable.ObjectImpl.hashCode() , toString sample code for org.omg.CORBA.portable.ObjectImpl.toString() definition code for org.omg.CORBA.portable.ObjectImpl.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface org.omg.CORBA.Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() , _get_domain_managers sample code for org.omg.CORBA.Object._get_domain_managers() definition code for org.omg.CORBA.Object._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.Object._get_interface_def() definition code for org.omg.CORBA.Object._get_interface_def() , _get_policy sample code for org.omg.CORBA.Object._get_policy(int) definition code for org.omg.CORBA.Object._get_policy(int) , _hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) , _is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) , _non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() , _release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() , _request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) , _set_policy_override sample code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)
 

Constructor Detail

_PolicyStub sample code for org.omg.CORBA._PolicyStub() definition code for org.omg.CORBA._PolicyStub()

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


_PolicyStub sample code for org.omg.CORBA._PolicyStub(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA._PolicyStub(org.omg.CORBA.portable.Delegate)

public _PolicyStub(Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate  delegate)
Constructs a _PolicyStub object initialized with the given Delegate object.

Parameters:
delegate - a Delegate Object
Method Detail

policy_type sample code for org.omg.CORBA._PolicyStub.policy_type() definition code for org.omg.CORBA._PolicyStub.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 sample code for org.omg.CORBA.PolicyOperations.policy_type() definition code for org.omg.CORBA.PolicyOperations.policy_type() in interface PolicyOperations sample code for org.omg.CORBA.PolicyOperations definition code for org.omg.CORBA.PolicyOperations
Returns:
the constant value that corresponds to the type of the policy object.

copy sample code for org.omg.CORBA._PolicyStub.copy() definition code for org.omg.CORBA._PolicyStub.copy()

public Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.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 sample code for org.omg.CORBA.PolicyOperations.copy() definition code for org.omg.CORBA.PolicyOperations.copy() in interface PolicyOperations sample code for org.omg.CORBA.PolicyOperations definition code for org.omg.CORBA.PolicyOperations
Returns:
the copy of the policy object.

destroy sample code for org.omg.CORBA._PolicyStub.destroy() definition code for org.omg.CORBA._PolicyStub.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 sample code for org.omg.CORBA.PolicyOperations.destroy() definition code for org.omg.CORBA.PolicyOperations.destroy() in interface PolicyOperations sample code for org.omg.CORBA.PolicyOperations definition code for org.omg.CORBA.PolicyOperations

_ids sample code for org.omg.CORBA._PolicyStub._ids() definition code for org.omg.CORBA._PolicyStub._ids()

public String sample code for java.lang.String definition code for java.lang.String [] _ids()
Description copied from class: ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids()
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 sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids() in class ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
Returns:
the array of all repository identifiers supported by this ObjectImpl instance