Contained::containing_repository

Overview The containing_repository attribute identifies the Repository that contains this object.
Original interface CORBA module: Contained Interface
Exceptions CORBA::SystemException


Intended Usage

A Contained object has a defined_in attribute that identifies the Container within which it is contained. The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object's defined_in attribute.

The containing_repository attribute read operation retrieves a pointer to the Repository.

Syntax

  readonly attribute Repository containing_repository;

Input parameters

None

Return values

CORBA::Repository_ptr
A pointer to the Repository object is returned.

Example

  // C++
     /// assume that 'interface_1' has already been initialized
     CORBA::InterfaceDef * interface_1;
 
     // retrieve a pointer to the Repository object
     CORBA::Repository * repository_ptr;
     repository_ptr = interface_1-> containing_repository();
 
     

Related reference
CORBA module



Searchable topic ID:   rcor_modct2
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/ref/rcor_modct2.html

Library | Support | Terms of Use | Feedback