Ice Reference Documentation | ||
---|---|---|
<<< Previous | Slice Documentation | Next >>> |
local interface |
Each communicator has a plugin manager to administer the set of plugins.
Initialize the configured plugins.
Obtain a plugin by name.
Install a new plugin.
Called when the communicator is being destroyed.
void initializePlugins(); |
Initialize the configured plugins. The communicator automatically initializes the plugins by default, but an application may need to interact directly with a plugin prior to initialization. In this case, the application must set Ice.InitPlugins=0 and then invoke initializePlugins manually. The plugins are initialized in the order in which they are loaded. If a plugin raises an exception during initialization, the communicator invokes destroy on the plugins that have already been initialized.
InitializationException
Raised if the plugins have already been initialized.
|
Obtain a plugin by name.
The plugin's name.
The plugin.
NotRegisteredException
Raised if no plugin is found with the given name.
void addPlugin(string name,
|
Install a new plugin.
The plugin's name.
The plugin.
AlreadyRegisteredException
Raised if a plugin already exists with the given name.
<<< Previous | Home | Next >>> |
Ice::PluginInitializationException | Up | Ice::Process |