KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > PolicyOperations


1 /*
2  * @(#)PolicyOperations.java 1.11 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package org.omg.CORBA;
8
9
10 /**
11 * The interface for <tt>Policy</tt>. For more information on
12 * Operations interfaces, see <a HREF="doc-files/generatedfiles.html#operations">
13 * "Generated Files: Operations files"</a>.
14 *<P>
15 * org/omg/CORBA/PolicyOperations.java
16 * Generated by the IDL-to-Java compiler (portable), version "3.0"
17 * from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
18 * Saturday, July 17, 1999 12:26:20 AM PDT
19 */

20
21 /**
22  * Provides the operations for a <code>Policy</code> object.
23  */

24 public interface PolicyOperations
25 {
26
27   /**
28    * Returns the constant value that corresponds to the
29    * type of the policy object. The values of
30    * the policy objects are allocated by the OMG.
31    * New values for PolicyType should be obtained from the OMG by
32    * sending mail to request@omg.org. In general the constant
33    * values that are allocated are defined in conjunction with
34    * the definition of the corresponding policy object.
35    *
36    * @return the constant value that corresponds to the type of
37    * the policy object
38    */

39   int policy_type ();
40
41   /**
42    * Returns a copy of the <code>Policy</code> object. The copy does not retain
43    * any relationships that the policy had with any domain or object.
44    *
45    * @return a copy of the <code>Policy</code> object
46    */

47   org.omg.CORBA.Policy JavaDoc copy ();
48
49   /**
50    * Destroys the <code>Policy</code> object. It is the responsibility of
51    * the <code>Policy</code> object to determine whether it can be destroyed.
52    */

53   void destroy ();
54 } // interface PolicyOperations
55
Popular Tags