summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/DescriptorHelper.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-06-14 08:10:49 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-06-14 08:10:49 +0000
commitd5e2d2bc732ca46ac26bc8c3aefdf9c4755e44be (patch)
tree9422b67834be0be1672f50325b11e1a80e298c76 /cpp/src/IceGrid/DescriptorHelper.h
parentfix for bug 257: removing finalizer in SslConnector (diff)
downloadice-d5e2d2bc732ca46ac26bc8c3aefdf9c4755e44be.tar.bz2
ice-d5e2d2bc732ca46ac26bc8c3aefdf9c4755e44be.tar.xz
ice-d5e2d2bc732ca46ac26bc8c3aefdf9c4755e44be.zip
Fixed bug in application update code.
Diffstat (limited to 'cpp/src/IceGrid/DescriptorHelper.h')
-rw-r--r--cpp/src/IceGrid/DescriptorHelper.h7
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;
};