Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / ServantLocator.pidl
blob5d63fee44ca388d8adb8461fd3a0addae9d4f885
1 /**
2  * @file ServantLocator.pidl
3  *
4  * @brief Pre-compiled IDL source for the PortableServer module.
5  */
7 #ifndef _PORTABLESERVER_SERVANTLOCATOR_IDL_
8 #define _PORTABLESERVER_SERVANTLOCATOR_IDL_
10 ///FUZZ: disable check_for_include/
11 #include "tao/orb_types.pidl"
12 #include "tao/PortableServer/PS_Forward.pidl"
13 #include "tao/PortableServer/ServantManager.pidl"
14 #include "tao/PortableServer/ForwardRequest.pidl"
16 #pragma prefix "omg.org"
18 #if ! defined (CORBA_E_COMPACT) && ! defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
20 module PortableServer
22 # pragma version PortableServer 2.3
24   local interface ServantLocator : ServantManager
25   {
26 #   pragma version ServantLocator 2.3
28     native Cookie;
30     Servant preinvoke (in ObjectId oid,
31                        in POA adapter,
32                        in CORBA::Identifier operation,
33                        out Cookie the_cookie)
34       raises (ForwardRequest);
36     void postinvoke (in ObjectId oid,
37                      in POA adapter,
38                      in CORBA::Identifier operation,
39                      in Cookie  the_cookie,
40                      in Servant the_servant);
41   };
44 #endif
46 #endif // _PORTABLESERVER_SERVANTLOCATOR_IDL_