diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-10-07 18:18:37 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-10-07 18:18:37 +0200 |
commit | 5fc2dc27228263e4c56ba3a49852ab3f8c724299 (patch) | |
tree | a1340491094705a1e604a3df22ec4dad0c8d1a8e /cpp/src/Ice/PluginManagerI.cpp | |
parent | Bug 4251 - add IceUtil::Time double initializers (diff) | |
download | ice-5fc2dc27228263e4c56ba3a49852ab3f8c724299.tar.bz2 ice-5fc2dc27228263e4c56ba3a49852ab3f8c724299.tar.xz ice-5fc2dc27228263e4c56ba3a49852ab3f8c724299.zip |
- Bug 4286: added support for IceStorm/IceGrid database plugins
- Fixed IceGrid database code to first save to the database and then
do state changes.
Diffstat (limited to 'cpp/src/Ice/PluginManagerI.cpp')
-rw-r--r-- | cpp/src/Ice/PluginManagerI.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/PluginManagerI.cpp b/cpp/src/Ice/PluginManagerI.cpp index 6fafc59769f..5d774774bf0 100644 --- a/cpp/src/Ice/PluginManagerI.cpp +++ b/cpp/src/Ice/PluginManagerI.cpp @@ -13,6 +13,7 @@ #include <Ice/Properties.h> #include <Ice/LoggerUtil.h> #include <Ice/Initialize.h> +#include <Ice/Instance.h> #include <Ice/LocalException.h> using namespace std; @@ -379,3 +380,12 @@ Ice::PluginManagerI::loadPlugin(const string& name, const string& pluginSpec, St _libraries->add(library); } +void +IceInternal::loadPlugin(const Ice::CommunicatorPtr& communicator, + const string& name, + const string& pluginSpec, + Ice::StringSeq& cmdArgs) +{ + PluginManagerIPtr pluginManager = PluginManagerIPtr::dynamicCast(getInstance(communicator)->pluginManager()); + pluginManager->loadPlugin(name, pluginSpec, cmdArgs); +} |