|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.plugin.PluginService
public final class PluginService
This class provides services and utilities for plugins management
Method Summary | |
---|---|
static Plugin |
getCore()
|
static Plugin |
getPlugin(java.lang.String strPluginName)
Returns a Plugin object from its name |
static java.util.Collection<Plugin> |
getPluginList()
Returns the plugins file list |
static void |
init()
Initialize the service |
static boolean |
isPluginEnable(java.lang.String strPluginName)
Gets the plugin status enable / disable |
static void |
notifyListeners(PluginEvent event)
Notify an event to all Plugin Event Listeners |
static void |
registerPluginEventListener(PluginEventListener listener)
Register a Plugin Event Listener |
static void |
updatePluginData(Plugin plugin)
Update plugins data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init() throws LuteceInitException
LuteceInitException
- If an error occuredpublic static java.util.Collection<Plugin> getPluginList()
public static Plugin getPlugin(java.lang.String strPluginName)
strPluginName
- The name of the plugin
public static Plugin getCore()
public static void updatePluginData(Plugin plugin)
plugin
- The plugin objectpublic static boolean isPluginEnable(java.lang.String strPluginName)
strPluginName
- The plugin name
public static void registerPluginEventListener(PluginEventListener listener)
listener
- The listenerpublic static void notifyListeners(PluginEvent event)
event
- The event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |