diff options
Diffstat (limited to 'ACEXML/compass/ComponentServer.h')
-rw-r--r-- | ACEXML/compass/ComponentServer.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ACEXML/compass/ComponentServer.h b/ACEXML/compass/ComponentServer.h index 1cc371fd167..8448e4254ed 100644 --- a/ACEXML/compass/ComponentServer.h +++ b/ACEXML/compass/ComponentServer.h @@ -5,7 +5,7 @@ #define COMPASS_COMPONENT_SERVER_H #include "ace/pre.h" -#include "ACEXML/common/Compass_Export.h" +#include "ACEXML/compass/Compass_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) #pragma once @@ -22,15 +22,15 @@ namespace Deployment class Compass_Export ComponentServer { public: - ComponentServer(); + ComponentServer (const ConfigValues& config); ~ComponentServer(); ServerActivator* get_server_activator (); - Container* create_container (const ConfigValues* config) + Container* create_container (const ConfigValues& config) ACE_THROW_SPEC ((CreateFailure, InvalidConfiguration)); - void remove_container (const Container* cref) + void remove_container (Container* cref) ACE_THROW_SPEC ((RemoveFailure)); Containers* get_containers (); @@ -38,16 +38,17 @@ namespace Deployment void remove () ACE_THROW_SPEC ((RemoveFailure)); - ConfigValues* get_configuration (void); + const ConfigValues& get_configuration (void); - void set_configuration (const ConfigValues* config); + void set_configuration (const ConfigValues& config); private: Containers* containers_; ServerActivator* activator_; + ConfigValues* config_; }; -}; +} #if defined (__ACE_INLINE__) #include "ComponentServer.inl" |