Interface Repository
- Usually, applications use static knowledge of IDL types to
compile.
- But, sometimes they need run-time knowledge (e.g., the
interface changes and we do not want to recompile).
- The IR allows the OMG IDL type system to be accessed and
written programmatically at runtime.
- Using the IR interface, applications can traverse an entire
hierarchy of IDL information.
- Or, we can use
CORB::Object.get_interface()
which returns an InterfaceDef
object. Since all
objects inherit from Object
they all define this
function.
José M. Vidal
.
14 of 21