1 25 package org.objectweb.carol.util.csiv2; 26 27 import org.omg.CORBA.Policy ; 28 29 33 public class SasPolicy extends org.omg.CORBA.LocalObject implements org.omg.CORBA.Policy { 34 35 38 public static final int POLICY_TYPE = 0xFB79; 39 40 43 private SasComponent sasComponent = null; 44 45 49 public SasPolicy(SasComponent sasComponent) { 50 this.sasComponent = sasComponent; 51 } 52 53 59 public int policy_type() { 60 return POLICY_TYPE; 61 } 62 63 66 public void destroy() { 67 68 } 69 70 74 public Policy copy() { 75 return new SasPolicy(sasComponent); 76 } 77 78 81 public SasComponent getSasComponent() { 82 return sasComponent; 83 } 84 } | Popular Tags |