1 package org.jacorb.poa; 2 3 22 23 import org.omg.PortableServer.Servant ; 24 import org.omg.CORBA.ORB ; 25 26 32 public class LocalInvocationContext implements InvocationContext { 33 private ORB orb; 34 private POA poa; 35 private Servant servant; 36 private byte[] oid; 37 38 private LocalInvocationContext() { 39 } 40 public LocalInvocationContext(ORB _orb, POA _poa, byte[] _oid, Servant _servant) { 41 orb = _orb; 42 poa = _poa; 43 oid = _oid; 44 servant = _servant; 45 } 46 public byte[] getObjectId() { 47 return oid; 48 } 49 public ORB getORB() { 50 return orb; 51 } 52 public POA getPOA() { 53 return poa; 54 } 55 public Servant getServant() { 56 return servant; 57 } 58 } 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | Popular Tags |