~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to slice/Ice/Plugin.ice

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
1
2
// **********************************************************************
2
3
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
4
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
5
//
5
6
// This copy of Ice is licensed to you under the terms described in the
6
7
// ICE_LICENSE file included in this distribution.
13
14
[["cpp:header-ext:h"]]
14
15
 
15
16
#include <Ice/LoggerF.ice>
 
17
#include <Ice/BuiltinSequences.ice>
16
18
 
17
19
module Ice
18
20
{
23
25
 * communicator, such as support for a protocol.
24
26
 *
25
27
 * The communicator loads its plug-ins in two stages: the first stage
26
 
 * creates the plug-ins, and the second stage invokes [initialize] on
 
28
 * creates the plug-ins, and the second stage invokes {@link Plugin.initialize} on
27
29
 * each one.
28
30
 *
29
31
 **/
57
59
     * Initialize the configured plug-ins. The communicator automatically initializes
58
60
     * the plug-ins by default, but an application may need to interact directly with
59
61
     * a plug-in prior to initialization. In this case, the application must set
60
 
     * <tt>Ice.InitPlugins=0</tt> and then invoke [initializePlugins]
 
62
     * <tt>Ice.InitPlugins=0</tt> and then invoke {@link #initializePlugins}
61
63
     * manually. The plug-ins are initialized in the order in which they are loaded.
62
64
     * If a plug-in raises an exception during initialization, the communicator
63
65
     * invokes destroy on the plug-ins that have already been initialized.
69
71
 
70
72
    /**
71
73
     *
 
74
     * Get a list of plugins installed.
 
75
     *
 
76
     * @return The names of the plugins installed.
 
77
     *
 
78
     * @see #getPlugin
 
79
     *
 
80
     **/
 
81
    StringSeq getPlugins();
 
82
 
 
83
    /**
 
84
     *
72
85
     * Obtain a plug-in by name.
73
86
     *
74
87
     * @param name The plug-in's name.