JavaTM 2 Platform
Std. Ed. v1.3

org.omg.CORBA
Interface PolicyOperations

All Known Subinterfaces:
Policy

public interface PolicyOperations

org/omg/CORBA/PolicyOperations.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


Method Summary
 Policy copy()
          Copies the policy object.
 void destroy()
          Destroys the policy object.
 int policy_type()
          Return the constant value that corresponds to the type of the policy object.
 

Method Detail

policy_type

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

copy

public Policy copy()
Copies the policy object. The copy does not retain any relationships that the policy had with any domain or object.
Returns:
the 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.

JavaTM 2 Platform
Std. Ed. v1.3

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.