|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.start.helpers.PluginServiceLocator
public class PluginServiceLocator
PluginServiceLocator serves as a singleton used to keep track of the plugins registered with the Spine framework
Copyright ©Zphinx Software Solutions
| Method Summary | |
|---|---|
void |
addPlugin(String key,
SpinePlugin plugin)
Adds a plugin to this service locator |
static PluginServiceLocator |
getInstance()
Gets the static instance of this object |
SpinePlugin |
getPlugin(String key)
Gets the SpinePlugin which was registered with this object by the specified key |
Map |
getPlugins()
Gets the Map containing all the registered plugins |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PluginServiceLocator getInstance()
public Map getPlugins()
public SpinePlugin getPlugin(String key)
key - The key by which the plugin is registered.
public void addPlugin(String key,
SpinePlugin plugin)
key - The key by which the plugin will be known to the systemplugin - The plugin to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||