#include <ORBInitInfo.h>
Inheritance diagram for TAO_ORBInitInfo:
Reference Related Methods | |
TAO_ORBInitInfo-specific methods and types. | |
typedef TAO_ORBInitInfo_ptr | _ptr_type |
typedef TAO_ORBInitInfo_var | _var_type |
virtual const char * | _interface_repository_id (void) const |
TAO_ORBInitInfo_ptr | _duplicate (TAO_ORBInitInfo_ptr obj) |
TAO_ORBInitInfo_ptr | _narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
No-op it is just here to simplify some templates. | |
TAO_ORBInitInfo_ptr | _unchecked_narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
TAO_ORBInitInfo_ptr | _nil (void) |
Return a NULL object. | |
~TAO_ORBInitInfo (void) | |
void | check_validity (ACE_ENV_SINGLE_ARG_DECL) |
TAO_ORBInitInfo (const TAO_ORBInitInfo &) | |
void | operator= (const TAO_ORBInitInfo &) |
TAO_ORB_Core * | orb_core_ |
Reference to the ORB Core. | |
int | argc_ |
char ** | argv_ |
The argument vector passed to CORBA::ORB_init(). | |
IOP::CodecFactory_var | codec_factory_ |
PortableInterceptor::SlotId | slot_count_ |
The number of allocated slots. | |
Public Methods | |
TAO_ORBInitInfo (TAO_ORB_Core *orb_core, int argc, char *argv[]) | |
Constructor. | |
PortableInterceptor::ORBInitInfo Methods | |
virtual CORBA::StringSeq * | arguments (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual char * | orb_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the ORBid for the ORB currently being initialized. | |
virtual IOP::CodecFactory_ptr | codec_factory (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | register_initial_reference (const char *id, CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::InvalidName) |
virtual CORBA::Object_ptr | resolve_initial_references (const char *id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::InvalidName) |
virtual void | add_client_request_interceptor (PortableInterceptor::ClientRequestInterceptor_ptr interceptor ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::DuplicateName) |
virtual void | add_server_request_interceptor (PortableInterceptor::ServerRequestInterceptor_ptr interceptor ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::DuplicateName) |
virtual void | add_ior_interceptor (PortableInterceptor::IORInterceptor_ptr interceptor ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::DuplicateName) |
virtual PortableInterceptor::SlotId | allocate_slot_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | register_policy_factory (CORBA::PolicyType type, PortableInterceptor::PolicyFactory_ptr policy_factory ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
TAO Extensions | |
These methods are not part of the PortableInterceptor specification, and are TAO-specific extensions. | |
size_t | allocate_tss_slot_id (ACE_CLEANUP_FUNC cleanup ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Allocate a slot in the ORB's TSS resources. | |
TAO_ORB_Core * | orb_core (void) const |
void | invalidate (void) |
Invalidate this ORBInitInfo instance. | |
PortableInterceptor::SlotId | slot_count (void) const |
This class encapsulates the data passed to ORBInitializers during ORB initialization.
|
Reimplemented from PortableInterceptor::ORBInitInfo. |
|
Reimplemented from PortableInterceptor::ORBInitInfo. |
|
Constructor.
|
|
Destructor is protected to enforce proper memory management through the reference counting mechanism. |
|
Prevent copying through the copy constructor and the assignment operator. |
|
|
|
The repository ID for the most derived class, this is an implementation method and does no remote invocations! Reimplemented from PortableInterceptor::ORBInitInfo. |
|
No-op it is just here to simplify some templates.
Reimplemented from PortableInterceptor::ORBInitInfo. |
|
Return a NULL object.
Reimplemented from PortableInterceptor::ORBInitInfo. |
|
Reimplemented from PortableInterceptor::ORBInitInfo. |
|
Register a client request interceptor with the ORB currently being initialized. Implements PortableInterceptor::ORBInitInfo. |
|
Register an IOR interceptor with the ORB currently being initialized. Implements PortableInterceptor::ORBInitInfo. |
|
Register a server request interceptor with the ORB currently being initialized. Implements PortableInterceptor::ORBInitInfo. |
|
Reserve a slot in table found within the PortableInterceptor::Current object. Implements PortableInterceptor::ORBInitInfo. |
|
Allocate a slot in the ORB's TSS resources. TAO uses a single TSS key for these resources, so it is useful to place TSS objects in TAO's TSS resources on platforms where the number of TSS keys is low. The returned SlotId can be used to index into the array stored in ORB's TSS resources structure. An accompanying cleanup function (e.g. a TSS destructor) can also be registered. |
|
Return the argument vector for the ORB currently being initialized as a string sequence. Implements PortableInterceptor::ORBInitInfo. |
|
Check if this ORBInitInfo instance is valid. Once post_init() has been called on each of the ORBInitializers, this ORBInitInfo is no longer valid. Throw an exception in that case. |
|
Return the CodecFactory for the ORB currently being initialized. Implements PortableInterceptor::ORBInitInfo. |
|
Invalidate this ORBInitInfo instance.
|
|
|
|
The ORB Core is essentialy fully initialized by the time ORBInitializer::post_init() is invoked. As such, it is generally best if this method is used in that method.
Reimplemented from CORBA::Object. |
|
Return the ORBid for the ORB currently being initialized.
Implements PortableInterceptor::ORBInitInfo. |
|
This method is particularly useful for registering references to local (locality constrained) objects. Note that this method should be called in ORBInitializer::pre_init() so that the registered reference will be available to the resolve_initial_references() that may be called in the ORBInitializer::post_init() call. Implements PortableInterceptor::ORBInitInfo. |
|
Register a policy factory of the given policy type with the ORB currently being initialized. Implements PortableInterceptor::ORBInitInfo. |
|
Obtain a reference to an object that may not yet be available via the usual CORBA::ORB::resolve_initial_references() mechanism since the ORB may not be fully initialized yet. Implements PortableInterceptor::ORBInitInfo. |
|
Return the number of allocated slots in for the PICurrent object. |
|
The number of arguments in the argument vector passed to CORBA::ORB_init(). |
|
The argument vector passed to CORBA::ORB_init().
|
|
Reference to the CodecFactory returned by ORBInitInfo::codec_factory(). |
|
Reference to the ORB Core.
Reimplemented from CORBA::Object. |
|
The number of allocated slots.
|