01: package org.omg.PortableServer;
02:
03: /** stream-based skeleton class */
04:
05: import org.omg.PortableServer.POA;
06:
07: public class ServantLocatorPOATie extends ServantLocatorPOA {
08: private ServantLocatorOperations _delegate;
09:
10: private POA _poa;
11:
12: public ServantLocatorPOATie(ServantLocatorOperations delegate) {
13: _delegate = delegate;
14: }
15:
16: public ServantLocatorPOATie(ServantLocatorOperations delegate,
17: POA poa) {
18: _delegate = delegate;
19: _poa = poa;
20: }
21:
22: public ServantLocator _this () {
23: return ServantLocatorHelper.narrow(_this _object());
24: }
25:
26: public ServantLocatorOperations _delegate() {
27: return _delegate;
28: }
29:
30: public void _delegate(ServantLocatorOperations delegate) {
31: _delegate = delegate;
32: }
33:
34: public void postinvoke(byte[] oid,
35: org.omg.PortableServer.POA adapter,
36: java.lang.String operation, java.lang.Object the_cookie,
37: org.omg.PortableServer.Servant the_servant)
38: throws org.omg.PortableServer.ForwardRequest {
39: _delegate.postinvoke(oid, adapter, operation, the_cookie,
40: the_servant);
41: }
42:
43: public org.omg.PortableServer.Servant preinvoke(
44: byte[] oid,
45: org.omg.PortableServer.POA adapter,
46: java.lang.String operation,
47: org.omg.PortableServer.ServantLocatorPackage.CookieHolder the_cookie)
48: throws org.omg.PortableServer.ForwardRequest {
49: return _delegate.preinvoke(oid, adapter, operation, the_cookie);
50: }
51: }
|