1 23 24 package com.sun.enterprise.iiop; 25 26 import org.omg.CORBA.Policy ; 27 28 public class RequestDispatchPolicy extends org.omg.CORBA.LocalObject  29 implements org.omg.CORBA.Policy { 30 31 private int dispatchId; 32 33 public RequestDispatchPolicy(int dispatchId) { 34 this.dispatchId= dispatchId; 35 } 36 37 public int policy_type() { 38 return POARemoteReferenceFactory.REQUEST_DISPATCH_POLICY_TYPE; 39 } 40 41 public org.omg.CORBA.Policy copy() { 42 return new RequestDispatchPolicy(dispatchId); 43 } 44 45 public void destroy() { 46 } 47 48 int getDispatchId() { 49 return dispatchId; 50 } 51 } 52 | Popular Tags |