Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / IDL_Test / PEMNaming.idl
blobd90a10c0f8697004685d9b1367f82377db5159d6
1 #ifndef _PEM_NAMING_IDL_
2 #define _PEM_NAMING_IDL_
4 module Plesk
6 typedef long TObjectID;
8 enum TBool
10 TB_NO,
11 TB_YES,
12 TB_MAYBE
15 struct TProperty
17 string name;
18 string value;
21 typedef sequence<TProperty> TPropertyList;
23 exception ExSystem
25 string module_id;
26 long extype_id;
27 long errcode;
28 long errcode_minor;
29 string errmsg;
30 TPropertyList props;
31 TBool transient;
34 module Naming
36 struct NamingContext
38 string kernel_resolver_ior;
41 const long ERR_NO_SUCH_OBJ = 6; // don't change it
42 // reserved for Naming
44 interface ObjectResolver
46 # pragma version ObjectResolver 1.2
48 Object
49 resolve (in string service_type, inout TObjectID sc_id)
50 raises (ExSystem);
52 Object
53 resolve_sc (in string service_type, in string version, inout TObjectID sc_id)
54 raises (ExSystem);
56 }; // module Naming
57 }; // module Plesk
59 #endif // _PEM_NAMING_IDL_