4 * @author Carlos O'Ryan <coryan@uci.edu>
6 * @brief Pre-compiled IDL source for the IORTable module.
9 #ifndef TAO_IORTABLE_IORTABLE_PIDL
10 #define TAO_IORTABLE_IORTABLE_PIDL
12 /// Define a module to avoid namespace pollution
15 local interface Locator;
17 /// The object key is already in the IORTable
18 exception AlreadyBound {};
20 /// Cannot find the object key in the IORTable
21 exception NotFound {};
23 /// Define the IORTable interface
26 * Any TAO server can be configured as an corbaloc agent.
27 * Such agents forward requests generated using a simple
28 * ObjectKey in a corbaloc specification to the real location
30 * In TAO we implement this feature by dynamically (or
31 * statically) adding a new Object Adapter to the ORB, that
32 * handles any sort of request.
36 /// Bind @a object_key to the @a IOR
37 void bind (in string object_key,
39 raises (AlreadyBound);
41 /// Bind @a object_key to the @a IOR
42 void rebind (in string object_key,
45 /// Remove the binding for @a object_key
46 void unbind (in string object_key)
49 /// Set the locator, if no binding is set for an object_key we try
50 /// to use the locator to resolve it
51 void set_locator (in Locator the_locator);
54 /// Callback interface to locate object keys dynamically
56 * The application can provide a callback interface to locate object
59 local interface Locator
61 /// Returns an IOR to use for @a object_key
62 string locate (in string object_key)
68 #endif /* TAO_IORTABLE_IORTABLE_PIDL */