|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginManager
Method Summary | |
---|---|
java.util.List |
getPlugins(java.lang.Object key)
Get all the plugins corresponding to the specified key |
java.util.List |
getPluginTypeKeys()
Enumerate all the keys in user |
void |
initPlugins()
This method finds all classes in the com.netegrity.ims.plugin.factory package using some Java reflection magic. |
void |
shutdownPlugins()
This method shuts down any started plugins. |
Method Detail |
---|
void initPlugins()
For each returned plugin the init() method is called, and then the getPluginTypeKeys() method is called. For each key returned the plugin is added to a Vector of plugin instances for that key. Each of these Vectors is the value in a Map of Object(key)-to-Vectors(plugin list), the pluginMap. The whole point of the scan/sort process is to populate this Map so that it can be used to quickly provide key-specific plugin lists when getPlugins() is called later. A second Map of Object-to-Booleans, the startedMap, is also created with a False value stored for each type key found. This map will later be used to control invocation of the start() methods on the plugins. Note that start() method is not called on any plugin by initPlugins.
void shutdownPlugins()
java.util.List getPlugins(java.lang.Object key)
key
-
java.util.List getPluginTypeKeys()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |