This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.omg.CORBA
interface PolicyOperations

All Known Subinterfaces:
IdAssignmentPolicyOperations, IdUniquenessPolicyOperations, ImplicitActivationPolicyOperations, LifespanPolicyOperations, RequestProcessingPolicyOperations, ServantRetentionPolicyOperations, ThreadPolicyOperations

public interface PolicyOperations

Provides the operations for a Policy object.


Method Summary
 Policy

          Returns a copy of the Policy object.
 void

          Destroys the Policy object.
 int

          Returns the constant value that corresponds to the type of the policy object.
 

Method Detail

copy

public Policy copy()
Returns a copy of the Policy object. The copy does not retain any relationships that the policy had with any domain or object.

Returns:
a 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.


policy_type

public int policy_type()
Returns the constant value that corresponds to the type of the policy object. The values of the policy objects 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.

Returns:
the constant value that corresponds to the type of the policy object


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.