1 package org.omg.PortableServer; 2 3 4 5 import org.omg.PortableServer.POA ; 6 7 public class ServantLocatorPOATie 8 extends ServantLocatorPOA 9 { 10 private ServantLocatorOperations _delegate; 11 12 private POA _poa; 13 public ServantLocatorPOATie(ServantLocatorOperations delegate) 14 { 15 _delegate = delegate; 16 } 17 public ServantLocatorPOATie(ServantLocatorOperations delegate, POA poa) 18 { 19 _delegate = delegate; 20 _poa = poa; 21 } 22 public ServantLocator _this() 23 { 24 return ServantLocatorHelper.narrow(_this_object()); 25 } 26 27 public ServantLocatorOperations _delegate() 28 { 29 return _delegate; 30 } 31 public void _delegate(ServantLocatorOperations delegate) 32 { 33 _delegate = delegate; 34 } 35 public void postinvoke(byte[] oid, 36 org.omg.PortableServer.POA adapter, 37 java.lang.String operation, 38 java.lang.Object the_cookie, 39 org.omg.PortableServer.Servant the_servant) 40 throws org.omg.PortableServer.ForwardRequest 41 { 42 _delegate.postinvoke(oid,adapter,operation,the_cookie,the_servant); 43 } 44 45 public org.omg.PortableServer.Servant preinvoke(byte[] oid, 46 org.omg.PortableServer.POA adapter, 47 java.lang.String operation, 48 org.omg.PortableServer.ServantLocatorPackage.CookieHolder the_cookie) 49 throws org.omg.PortableServer.ForwardRequest 50 { 51 return _delegate.preinvoke(oid,adapter,operation,the_cookie); 52 } 53 } 54 55 56 | Popular Tags |