Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO::ORBInitializer_Registry Class Reference

Global list that contains all portable interceptor ORB initializers. More...

#include <ORBInitializer_Registry.h>

Collaboration diagram for TAO::ORBInitializer_Registry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ORBInitializer_Registry (void)

Protected Member Functions

void register_orb_initializer (PortableInterceptor::ORBInitializer_ptr init ACE_ENV_ARG_DECL)
void pre_init (PortableInterceptor::ORBInitInfo_ptr info ACE_ENV_ARG_DECL)
void post_init (PortableInterceptor::ORBInitInfo_ptr info ACE_ENV_ARG_DECL)

Static Protected Member Functions

ORBInitializer_Registryinstance (void)
 Return a unique singleton instance.

Private Member Functions

 ORBInitializer_Registry (const ORBInitializer_Registry &)
void operator= (const ORBInitializer_Registry &)

Private Attributes

TAO_SYNCH_MUTEX lock_
ACE_Array_Base< PortableInterceptor::ORBInitializer_varinitializers_
 Dynamic array containing registered ORBInitializers.

Friends

void PortableInterceptor::register_orb_initializer (PortableInterceptor::ORBInitializer_ptr init ACE_ENV_ARG_DECL)
CORBA::ORB_ptr CORBA::ORB_init (int &, char *argv[], const char *, CORBA::Environment &)

Detailed Description

Global list that contains all portable interceptor ORB initializers.

Note:
This class should be instantiated via its instance() method. Normally this would be enforced by making the constructor protected but that forces a friend declaration containing a template type (TAO_Singleton) with a static member to be introduced. In turn, this potentially introduces problems in MS Windows DLL environments due to the occurance of multiple singleton instances. There should only be one!


Constructor & Destructor Documentation

TAO::ORBInitializer_Registry::ORBInitializer_Registry void   ) 
 

Note:
See the note in the class description for an explanation of why this constructor is not protected.

TAO::ORBInitializer_Registry::ORBInitializer_Registry const ORBInitializer_Registry  )  [private]
 


Member Function Documentation

TAO::ORBInitializer_Registry * TAO::ORBInitializer_Registry::instance void   )  [static, protected]
 

Return a unique singleton instance.

void TAO::ORBInitializer_Registry::operator= const ORBInitializer_Registry  )  [private]
 

void TAO::ORBInitializer_Registry::post_init PortableInterceptor::ORBInitInfo_ptr info  ACE_ENV_ARG_DECL  )  [protected]
 

Complete initialization of all registered ORBInitializers after the ORB has been initialized.

void TAO::ORBInitializer_Registry::pre_init PortableInterceptor::ORBInitInfo_ptr info  ACE_ENV_ARG_DECL  )  [protected]
 

Begin initialization of all registered ORBInitializers before the ORB itself is initialized.

void TAO::ORBInitializer_Registry::register_orb_initializer PortableInterceptor::ORBInitializer_ptr init  ACE_ENV_ARG_DECL  )  [protected]
 

Register an ORBInitializer with the underlying ORBInitializer array.


Friends And Related Function Documentation

CORBA::ORB_ptr CORBA::ORB_init int &  ,
char *  argv[],
const char *  ,
CORBA::Environment
[friend]
 

void PortableInterceptor::register_orb_initializer PortableInterceptor::ORBInitializer_ptr init  ACE_ENV_ARG_DECL  )  [friend]
 


Member Data Documentation

ACE_Array_Base<PortableInterceptor::ORBInitializer_var> TAO::ORBInitializer_Registry::initializers_ [private]
 

Dynamic array containing registered ORBInitializers.

TAO_SYNCH_MUTEX TAO::ORBInitializer_Registry::lock_ [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:19:15 2005 for TAO by  doxygen 1.3.9.1