com.xpn.xwiki.plugin.applicationmanager
Class ApplicationManagerPlugin

java.lang.Object
  extended by com.xpn.xwiki.plugin.XWikiDefaultPlugin
      extended by com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin
All Implemented Interfaces:
com.xpn.xwiki.plugin.XWikiPluginInterface, org.xwiki.observation.EventListener

public class ApplicationManagerPlugin
extends com.xpn.xwiki.plugin.XWikiDefaultPlugin
implements org.xwiki.observation.EventListener

Entry point of the Application Manager plugin.

Version:
$Id$

Field Summary
protected static org.slf4j.Logger LOGGER
          The logging tool.
static String PLUGIN_NAME
          Identifier of Application Manager plugin.
 
Constructor Summary
ApplicationManagerPlugin(String name, String className, com.xpn.xwiki.XWikiContext context)
          Construction the entry point of the Application Manager plugin.
 
Method Summary
 List<org.xwiki.observation.event.Event> getEvents()
          
 String getName()
          
 Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin, com.xpn.xwiki.XWikiContext context)
          
 void init(com.xpn.xwiki.XWikiContext context)
          
 void onEvent(org.xwiki.observation.event.Event event, Object source, Object data)
          
 
Methods inherited from class com.xpn.xwiki.plugin.XWikiDefaultPlugin
beginParsing, beginRendering, commonTagsHandler, downloadAttachment, endParsing, endRendering, endRenderingHandler, flushCache, flushCache, getClassName, insidePREHandler, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_NAME

public static final String PLUGIN_NAME
Identifier of Application Manager plugin.

See Also:
Constant Field Values

LOGGER

protected static final org.slf4j.Logger LOGGER
The logging tool.

Constructor Detail

ApplicationManagerPlugin

public ApplicationManagerPlugin(String name,
                                String className,
                                com.xpn.xwiki.XWikiContext context)
Construction the entry point of the Application Manager plugin.

Parameters:
name - the identifier of the plugin.
className - the class name of the entry point of the plugin.
context - the XWiki context.
Method Detail

getEvents

public List<org.xwiki.observation.event.Event> getEvents()

Specified by:
getEvents in interface org.xwiki.observation.EventListener
See Also:
EventListener.getEvents()

init

public void init(com.xpn.xwiki.XWikiContext context)

Specified by:
init in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
init in class com.xpn.xwiki.plugin.XWikiDefaultPlugin
See Also:
XWikiDefaultPlugin.init(com.xpn.xwiki.XWikiContext)

onEvent

public void onEvent(org.xwiki.observation.event.Event event,
                    Object source,
                    Object data)

Specified by:
onEvent in interface org.xwiki.observation.EventListener
See Also:
EventListener.onEvent(org.xwiki.observation.event.Event, java.lang.Object, java.lang.Object)

getName

public String getName()

Specified by:
getName in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Specified by:
getName in interface org.xwiki.observation.EventListener
Overrides:
getName in class com.xpn.xwiki.plugin.XWikiDefaultPlugin
See Also:
XWikiDefaultPlugin.getName()

getPluginApi

public Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin,
                        com.xpn.xwiki.XWikiContext context)

Specified by:
getPluginApi in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
getPluginApi in class com.xpn.xwiki.plugin.XWikiDefaultPlugin
See Also:
XWikiDefaultPlugin.getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface, com.xpn.xwiki.XWikiContext)


Copyright © 2004-2011 XWiki. All Rights Reserved.