|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xpn.xwiki.plugin.XWikiDefaultPlugin com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin
public class ApplicationManagerPlugin
Entry point of the Application Manager plugin.
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,
XWikiContext context)
Construction the entry point of the Application Manager plugin. |
Method Summary | |
---|---|
String |
getName()
The name which can be used for accessing this plugin from XWiki.getPlugin(String, XWikiContext) . |
Api |
getPluginApi(XWikiPluginInterface plugin,
XWikiContext context)
Get a public scriptable API that can be used to call methods of the (privileged) plugin. |
void |
init(XWikiContext context)
Global initialization, called when the platform is started and the plugin list is initialized. |
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 |
---|
public static final String PLUGIN_NAME
protected static final org.slf4j.Logger LOGGER
Constructor Detail |
---|
public ApplicationManagerPlugin(String name, String className, XWikiContext context)
name
- the identifier of the plugin.className
- the class name of the entry point of the plugin.context
- the XWiki context.Method Detail |
---|
public void init(XWikiContext context)
XWikiPluginInterface
init
in interface XWikiPluginInterface
init
in class XWikiDefaultPlugin
context
- the current context, should not be stored since it will become mostly unreliable once the initial
request is terminatedpublic String getName()
XWikiPluginInterface
XWiki.getPlugin(String, XWikiContext)
.
getName
in interface XWikiPluginInterface
getName
in class XWikiDefaultPlugin
public Api getPluginApi(XWikiPluginInterface plugin, XWikiContext context)
XWikiPluginInterface
getPluginApi
in interface XWikiPluginInterface
getPluginApi
in class XWikiDefaultPlugin
plugin
- the plugin instance to wrapcontext
- the current request context
null
if the plugin doesn't want to expose a public API
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |