#include <ServerActivator_Impl.h>
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_ |
typedef ACE_Map_Manager<ACE_CString, ::Components::Deployment::ComponentServer_var, ACE_Null_Mutex > DAnCE::ServerActivator_Impl::TCompServers [private] |
ServerActivator_Impl::ServerActivator_Impl | ( | CORBA::ORB_ptr | orb, | |
PortableServer::POA_ptr | poa_, | |||
Components::Deployment::ComponentInstallation_ptr | compInst | |||
) |
ServerActivator_Impl::~ServerActivator_Impl | ( | ) | [virtual] |
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.
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. |
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] |
Components::Deployment::ComponentInstallation_var DAnCE::ServerActivator_Impl::compInst_ [private] |
CosNaming::NamingContext_var DAnCE::ServerActivator_Impl::naming_ [private] |