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

TAO_GOA Class Reference

Implementation of the PortableGroup::GOA interface. More...

#include <GOA.h>

Inheritance diagram for TAO_GOA:

Inheritance graph
[legend]
Collaboration diagram for TAO_GOA:

Collaboration graph
[legend]
List of all members.

Public Member Functions

PortableServer::POA_ptr create_POA (const char *adapter_name, PortableServer::POAManager_ptr poa_manager, const CORBA::PolicyList &policies ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::AdapterAlreadyExists, PortableServer::POA::InvalidPolicy)
PortableServer::POA_ptr find_POA (const char *adapter_name, CORBA::Boolean activate_it ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::AdapterNonExistent)
void destroy (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ThreadPolicy_ptr create_thread_policy (PortableServer::ThreadPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::LifespanPolicy_ptr create_lifespan_policy (PortableServer::LifespanPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy (PortableServer::IdUniquenessPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy (PortableServer::IdAssignmentPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy (PortableServer::ImplicitActivationPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy (PortableServer::ServantRetentionPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy (PortableServer::RequestProcessingPolicyValue value ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
char * the_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POA_ptr the_parent (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POAListthe_children (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::POAManager_ptr the_POAManager (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::AdapterActivator_ptr the_activator (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
void the_activator (PortableServer::AdapterActivator_ptr adapter_activator ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ServantManager_ptr get_servant_manager (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
void set_servant_manager (PortableServer::ServantManager_ptr imgr ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
PortableServer::Servant get_servant (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::NoServant, PortableServer::POA::WrongPolicy)
void set_servant (PortableServer::Servant servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
PortableServer::ObjectIdactivate_object (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
void activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
void deactivate_object (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr create_reference (const char *intf ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
PortableServer::ObjectIdservant_to_id (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr servant_to_reference (PortableServer::Servant p_servant ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
PortableServer::Servant reference_to_servant (CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
PortableServer::ObjectIdreference_to_id (CORBA::Object_ptr reference ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
PortableServer::Servant id_to_servant (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
CORBA::OctetSeqid (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
 TAO_GOA (const String &name, TAO_POA_Manager &poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter ACE_ENV_ARG_DECL)
virtual ~TAO_GOA (void)
MIOP specification methods
virtual PortableServer::ObjectIdcreate_id_for_reference (CORBA::Object_ptr the_ref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, PortableGroup::NotAGroupObject )
virtual PortableGroup::IDsreference_to_ids (CORBA::Object_ptr the_ref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, PortableGroup::NotAGroupObject )
virtual void associate_reference_with_id (CORBA::Object_ptr ref, const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, PortableGroup::NotAGroupObject )
virtual void disassociate_reference_with_id (CORBA::Object_ptr ref, const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw ( CORBA::SystemException, PortableGroup::NotAGroupObject )

Static Public Member Functions

int Initializer (void)

Protected Member Functions

virtual TAO_Root_POAnew_POA (const String &name, TAO_POA_Manager &poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter ACE_ENV_ARG_DECL)
 Template method for creating new POA's of this type.
int find_group_component (const CORBA::Object_ptr the_ref, PortableGroup::TagGroupTaggedComponent &group)
int find_group_component_in_profile (const TAO_Profile *profile, PortableGroup::TagGroupTaggedComponent &group)
int create_group_acceptors (CORBA::Object_ptr the_ref, TAO_PortableGroup_Acceptor_Registry &acceptor_registry, TAO_ORB_Core &orb_core ACE_ENV_ARG_DECL)
void associate_group_with_ref (CORBA::Object_ptr group_ref, CORBA::Object_ptr obj_ref ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::NotAGroupObject)

Detailed Description

Implementation of the PortableGroup::GOA interface.

Implementation of the PortableGroup::GOA interface.


Constructor & Destructor Documentation

TAO_GOA::TAO_GOA const String name,
TAO_POA_Manager poa_manager,
const TAO_POA_Policy_Set policies,
TAO_Root_POA parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *object_adapter  ACE_ENV_ARG_DECL
 

TAO_GOA::~TAO_GOA void   )  [virtual]
 


Member Function Documentation

PortableServer::ObjectId * TAO_GOA::activate_object PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::activate_object_with_id const PortableServer::ObjectId id,
PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::ServantAlreadyActive, PortableServer::POA::ObjectAlreadyActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::associate_group_with_ref CORBA::Object_ptr  group_ref,
CORBA::Object_ptr obj_ref  ACE_ENV_ARG_DECL
throw (CORBA::SystemException, PortableGroup::NotAGroupObject) [protected]
 

Helper function to associate group references with object references.

void TAO_GOA::associate_reference_with_id CORBA::Object_ptr  ref,
const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException, PortableGroup::NotAGroupObject ) [virtual]
 

int TAO_GOA::create_group_acceptors CORBA::Object_ptr  the_ref,
TAO_PortableGroup_Acceptor_Registry acceptor_registry,
TAO_ORB_Core &orb_core  ACE_ENV_ARG_DECL
[protected]
 

PortableServer::IdAssignmentPolicy_ptr TAO_GOA::create_id_assignment_policy PortableServer::IdAssignmentPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::ObjectId * TAO_GOA::create_id_for_reference CORBA::Object_ptr the_ref  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException, PortableGroup::NotAGroupObject ) [virtual]
 

PortableServer::IdUniquenessPolicy_ptr TAO_GOA::create_id_uniqueness_policy PortableServer::IdUniquenessPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::ImplicitActivationPolicy_ptr TAO_GOA::create_implicit_activation_policy PortableServer::ImplicitActivationPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::LifespanPolicy_ptr TAO_GOA::create_lifespan_policy PortableServer::LifespanPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::POA_ptr TAO_GOA::create_POA const char *  adapter_name,
PortableServer::POAManager_ptr  poa_manager,
const CORBA::PolicyList &policies  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::AdapterAlreadyExists, PortableServer::POA::InvalidPolicy)
 

Reimplemented from TAO_Root_POA.

CORBA::Object_ptr TAO_GOA::create_reference const char *intf  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) [virtual]
 

Reimplemented from TAO_Root_POA.

CORBA::Object_ptr TAO_GOA::create_reference_with_id const PortableServer::ObjectId oid,
const char *intf  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::RequestProcessingPolicy_ptr TAO_GOA::create_request_processing_policy PortableServer::RequestProcessingPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::ServantRetentionPolicy_ptr TAO_GOA::create_servant_retention_policy PortableServer::ServantRetentionPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::ThreadPolicy_ptr TAO_GOA::create_thread_policy PortableServer::ThreadPolicyValue value  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::deactivate_object const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::destroy CORBA::Boolean  etherealize_objects,
CORBA::Boolean wait_for_completion  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::disassociate_reference_with_id CORBA::Object_ptr  ref,
const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException, PortableGroup::NotAGroupObject ) [virtual]
 

int TAO_GOA::find_group_component const CORBA::Object_ptr  the_ref,
PortableGroup::TagGroupTaggedComponent &  group
[protected]
 

int TAO_GOA::find_group_component_in_profile const TAO_Profile profile,
PortableGroup::TagGroupTaggedComponent &  group
[protected]
 

PortableServer::POA_ptr TAO_GOA::find_POA const char *  adapter_name,
CORBA::Boolean activate_it  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableServer::POA::AdapterNonExistent)
 

Reimplemented from TAO_Root_POA.

PortableServer::Servant TAO_GOA::get_servant ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException, PortableServer::POA::NoServant, PortableServer::POA::WrongPolicy) [virtual]
 

Reimplemented from TAO_Root_POA.

PortableServer::ServantManager_ptr TAO_GOA::get_servant_manager ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy) [virtual]
 

Reimplemented from TAO_Root_POA.

CORBA::OctetSeq * TAO_GOA::id ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Root_POA.

CORBA::Object_ptr TAO_GOA::id_to_reference const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

PortableServer::Servant TAO_GOA::id_to_servant const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

int TAO_GOA::Initializer void   )  [static]
 

TAO_Root_POA * TAO_GOA::new_POA const String name,
TAO_POA_Manager poa_manager,
const TAO_POA_Policy_Set policies,
TAO_Root_POA parent,
ACE_Lock lock,
TAO_SYNCH_MUTEX thread_lock,
TAO_ORB_Core orb_core,
TAO_Object_Adapter *object_adapter  ACE_ENV_ARG_DECL
[protected, virtual]
 

Template method for creating new POA's of this type.

Reimplemented from TAO_Root_POA.

PortableServer::ObjectId * TAO_GOA::reference_to_id CORBA::Object_ptr reference  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

PortableGroup::IDs * TAO_GOA::reference_to_ids CORBA::Object_ptr the_ref  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException, PortableGroup::NotAGroupObject ) [virtual]
 

PortableServer::Servant TAO_GOA::reference_to_servant CORBA::Object_ptr reference  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ObjectNotActive, PortableServer::POA::WrongAdapter, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

PortableServer::ObjectId * TAO_GOA::servant_to_id PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

CORBA::Object_ptr TAO_GOA::servant_to_reference PortableServer::Servant p_servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::ServantNotActive, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::set_servant PortableServer::Servant servant  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::set_servant_manager PortableServer::ServantManager_ptr imgr  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, PortableServer::POA::WrongPolicy)
 

Reimplemented from TAO_Root_POA.

void TAO_GOA::the_activator PortableServer::AdapterActivator_ptr adapter_activator  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException)
 

Reimplemented from TAO_Root_POA.

PortableServer::AdapterActivator_ptr TAO_GOA::the_activator ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Root_POA.

PortableServer::POAList * TAO_GOA::the_children ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Root_POA.

char * TAO_GOA::the_name ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Root_POA.

PortableServer::POA_ptr TAO_GOA::the_parent ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Regular_POA.

PortableServer::POAManager_ptr TAO_GOA::the_POAManager ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  throw (CORBA::SystemException) [virtual]
 

Reimplemented from TAO_Root_POA.


The documentation for this class was generated from the following files:
Generated on Sat Aug 6 03:45:49 2005 for TAO_PortableGroup by  doxygen 1.3.9.1