diff options
Diffstat (limited to 'cpp/src/IceGrid/DescriptorHelper.h')
-rw-r--r-- | cpp/src/IceGrid/DescriptorHelper.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/DescriptorHelper.h b/cpp/src/IceGrid/DescriptorHelper.h index 643bc5de4db..d035160ec4d 100644 --- a/cpp/src/IceGrid/DescriptorHelper.h +++ b/cpp/src/IceGrid/DescriptorHelper.h @@ -69,6 +69,7 @@ class DescriptorTemplates : public IceUtil::SimpleShared public: DescriptorTemplates(const ApplicationDescriptorPtr&); + void setDescriptor(const ApplicationDescriptorPtr&); ServerDescriptorPtr instantiateServer(const DescriptorHelper&, const std::string&, const std::map<std::string, std::string>&); @@ -83,7 +84,7 @@ public: private: - const ApplicationDescriptorPtr _application; + ApplicationDescriptorPtr _application; }; typedef IceUtil::Handle<DescriptorTemplates> DescriptorTemplatesPtr; @@ -145,9 +146,13 @@ public: std::auto_ptr<ServiceDescriptorHelper> addServiceTemplate(const std::string&, const IceXML::Attributes&); void update(const ApplicationUpdateDescriptor&); + void addServerInstance(const std::string&, const std::map<std::string, std::string>&); + void instantiate(); private: + void pushNodeVariables(const std::string&); + ApplicationDescriptorPtr _descriptor; }; |