Java Platform 1.2

org.omg.CORBA
Interface Policy


public abstract interface Policy
extends Object

The Policy interface provides a mechanism for ORBs and Object Services to allow access to certain choices that affect their operation. This information is accessed in a structured manner using interfaces derived from the org.omg.CORBA.Policy interface.


Method Summary
 Policy copy()
          This operation copies the policy object.
 void destroy()
          This operation destroys the policy object.
 int policy_type()
          This readonly attribute returns the constant value that corresponds to the type of the Policy object.
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

policy_type

public int policy_type()
This readonly attribute returns the constant value that corresponds to the type of the Policy object.

copy

public Policy copy()
This operation copies the policy object. The copy does not retain any relationships that the policy had with any domain, or object.

destroy

public void destroy()
This operation destroys the policy object. It is the responsibility of the policy object to determine whether it can be destroyed.

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.