Populating the CORBA Interface Repository

Why and when to perform this task

The Interface Repository (IR) is populated with data by programs that are emitted by the IDL compiler (through the use of the -eir option). These IR population programs are produced by the IDL compiler according to the IDL files that describe the object or objects.

Steps for this task

  1. Emit the _IR.cpp for application idl. From the C++ SDK environment, given an application whose interfaces are defined in idl file XXX.idl, run the IDLC program to emit the IR C++ source file associated with this idl. Specify "ir" to make idlc invoke the IR emitter.
    For example:
    idlc -eir XXX.idl
    The generated source file is XXX_IR.cpp.
  2. Build a program. Compile and link the generated XXX_IR.cpp source file into a program, for example: XXX_IR.
  3. Run the program, XXX_IR, on the computer where the IR resides.

Results

To verify that the application interface information has been populated (loaded) into the IR, run the irdump utility from the command line. The resulting output shows the application's interface, operations, attributes, and so forth.

For more information on the irdump utility, see irdump utility


Related tasks
Managing the CORBA Interface Repository
Related reference
irdump utility



Searchable topic ID:   tcor_popir
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/tasks/tcor_popir.html

Library | Support | Terms of Use | Feedback