1 7 8 package com.sun.corba.se.impl.oa.poa; 9 10 import org.omg.CORBA.*; 11 import org.omg.PortableServer.*; 12 13 final class ImplicitActivationPolicyImpl 14 extends org.omg.CORBA.LocalObject implements ImplicitActivationPolicy { 15 16 public 17 ImplicitActivationPolicyImpl(ImplicitActivationPolicyValue 18 value) { 19 this.value = value; 20 } 21 22 public ImplicitActivationPolicyValue value() { 23 return value; 24 } 25 26 public int policy_type() 27 { 28 return IMPLICIT_ACTIVATION_POLICY_ID.value ; 29 } 30 31 public Policy copy() { 32 return new ImplicitActivationPolicyImpl(value); 33 } 34 35 public void destroy() { 36 value = null; 37 } 38 39 private ImplicitActivationPolicyValue value; 40 41 public String toString() 42 { 43 return "ImplicitActivationPolicy[" + 44 ((value.value() == ImplicitActivationPolicyValue._IMPLICIT_ACTIVATION) ? 45 "IMPLICIT_ACTIVATION" : "NO_IMPLICIT_ACTIVATION" + "]") ; 46 } 47 } 48 | Popular Tags |