Package com.xpn.xwiki.plugin.packaging
Class PackagePlugin
- java.lang.Object
-
- com.xpn.xwiki.plugin.XWikiDefaultPlugin
-
- com.xpn.xwiki.plugin.packaging.PackagePlugin
-
- All Implemented Interfaces:
XWikiPluginInterface
@Deprecated public class PackagePlugin extends XWikiDefaultPlugin implements XWikiPluginInterface
Deprecated.since 5.2, use Filter framework instead- Version:
- $Id: c95c13b2c3c822e8fdad58541804987f2134e270 $
-
-
Constructor Summary
Constructors Constructor Description PackagePlugin(String name, String className, XWikiContext context)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidflushCache()Deprecated.Older equivalent of theXWikiDefaultPlugin.flushCache(XWikiContext)method without a context provided.StringgetName()Deprecated.The name which can be used for accessing this plugin fromXWiki.getPlugin(String, XWikiContext).ApigetPluginApi(XWikiPluginInterface plugin, XWikiContext context)Deprecated.Get a public scriptable API that can be used to call methods of the (privileged) plugin.voidinit(XWikiContext context)Deprecated.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, getClassName, getLocalization, insidePREHandler, localizePlainOrKey, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.xpn.xwiki.plugin.XWikiPluginInterface
beginParsing, beginRendering, commonTagsHandler, downloadAttachment, endParsing, endRendering, endRenderingHandler, flushCache, insidePREHandler, outsidePREHandler, startRenderingHandler, virtualInit
-
-
-
-
Constructor Detail
-
PackagePlugin
public PackagePlugin(String name, String className, XWikiContext context)
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.Description copied from interface:XWikiPluginInterfaceThe name which can be used for accessing this plugin fromXWiki.getPlugin(String, XWikiContext).- Specified by:
getNamein interfaceXWikiPluginInterface- Overrides:
getNamein classXWikiDefaultPlugin- Returns:
- the plugin name, usually a lowercase identifier
-
getPluginApi
public Api getPluginApi(XWikiPluginInterface plugin, XWikiContext context)
Deprecated.Description copied from interface:XWikiPluginInterfaceGet a public scriptable API that can be used to call methods of the (privileged) plugin.- Specified by:
getPluginApiin interfaceXWikiPluginInterface- Overrides:
getPluginApiin classXWikiDefaultPlugin- Parameters:
plugin- the plugin instance to wrapcontext- the current request context- Returns:
- an instance of the corresponding API, or
nullif the plugin doesn't want to expose a public API
-
flushCache
public void flushCache()
Deprecated.Description copied from class:XWikiDefaultPluginOlder equivalent of theXWikiDefaultPlugin.flushCache(XWikiContext)method without a context provided.- Overrides:
flushCachein classXWikiDefaultPlugin
-
init
public void init(XWikiContext context)
Deprecated.Description copied from interface:XWikiPluginInterfaceGlobal initialization, called when the platform is started and the plugin list is initialized.- Specified by:
initin interfaceXWikiPluginInterface- Overrides:
initin classXWikiDefaultPlugin- Parameters:
context- the current context, should not be stored since it will become mostly unreliable once the initial request is terminated
-
-