DAnCE::ServerActivator_Impl Class Reference

#include <ServerActivator_Impl.h>

Collaboration diagram for DAnCE::ServerActivator_Impl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ServerActivator_Impl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa_, Components::Deployment::ComponentInstallation_ptr compInst)
virtual ~ServerActivator_Impl ()
virtual
::Components::Deployment::ComponentServer_ptr 
create_component_server (const ::Components::ConfigValues &config)
virtual void remove_component_server (::Components::Deployment::ComponentServer_ptr server)
virtual
::Components::Deployment::ComponentServers * 
get_component_servers ()

Private Types

typedef ACE_Map_Manager
< ACE_CString,::Components::Deployment::ComponentServer_var,
ACE_Null_Mutex
TCompServers

Private Member Functions

void initializeComponentServer (::Components::Deployment::ComponentServer_ptr server)

Private Attributes

TCompServers servers_
CORBA::ORB_var orb_
PortableServer::POA_var poa_
CosNaming::NamingContext_var naming_
Components::Deployment::ComponentInstallation_var compInst_


Member Typedef Documentation

typedef ACE_Map_Manager<ACE_CString, ::Components::Deployment::ComponentServer_var, ACE_Null_Mutex > DAnCE::ServerActivator_Impl::TCompServers [private]


Constructor & Destructor Documentation

ServerActivator_Impl::ServerActivator_Impl ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa_,
Components::Deployment::ComponentInstallation_ptr  compInst 
)

ServerActivator_Impl::~ServerActivator_Impl (  )  [virtual]


Member Function Documentation

Components::Deployment::ComponentServer_ptr ServerActivator_Impl::create_component_server ( const ::Components::ConfigValues &  config  ) 

Creates a ComponentServer object on the host on which the ServerActivator is located.

Parameters:
config ConfigValues for creation of ComponentServer. For CDMW CCM, this sequence should contain a PROCESS_DESTINATION ConfigValue which specify the destination of an already started ComponentServer process.
Exceptions:
CreateFailure INVALID_PROCESS_DESTINATION: raised if the destination specified in PROCESS_DESTINATION ConfigValue is not valid.
COMPONENT_SERVER_NOT_CREATED: raised if the ComponentServer could not be contacted (it should be started by PlatformManagement before the call to ServerActivator).
COMPONENT_SERVER_ALREADY_CREATED: raised if this method has already been called with the same PROCESS_DESTINATION ConfigValue.
InvalidConfiguration raised if the config parameter doesn't contain a single PROCESS_DESTINATION ConfigValue.

Components::Deployment::ComponentServers * ServerActivator_Impl::get_component_servers (  ) 

void ServerActivator_Impl::initializeComponentServer ( ::Components::Deployment::ComponentServer_ptr  server  )  [private]

void ServerActivator_Impl::remove_component_server ( ::Components::Deployment::ComponentServer_ptr  server  )  [virtual]


Member Data Documentation

Components::Deployment::ComponentInstallation_var DAnCE::ServerActivator_Impl::compInst_ [private]

CosNaming::NamingContext_var DAnCE::ServerActivator_Impl::naming_ [private]


The documentation for this class was generated from the following files:

Generated on Tue Apr 14 12:10:36 2009 for DAnCE by  doxygen 1.5.8