Package com.jalios.jcms.policy
Class BasicPluginPolicyFilter
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyFilter
-
- com.jalios.jcms.policy.BasicPluginPolicyFilter
-
- All Implemented Interfaces:
PluginComponent
,PluginPolicyFilter
,PolicyFilter
,java.lang.Comparable
public class BasicPluginPolicyFilter extends AbstractPolicyFilter implements PluginPolicyFilter, PluginComponent
This class provides hooks for plugin life cycle.- Since:
- jcms-5.7.0
- Version:
- $Revision: 19809 $
- Author:
- Jean-Philippe Encausse
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order
-
-
Constructor Summary
Constructors Constructor Description BasicPluginPolicyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deployPlugin(Plugin plugin, java.lang.String archiveName)
Called after given plugin deployement to execute specific actionsboolean
init(Plugin plugin)
Initialize the component with the given plugin configurationvoid
setupPlugin(Plugin plugin)
Called after given plugin setup to execute specific actionsvoid
uninstallPlugin(Plugin plugin)
Called after given plugin uninstall to execute specific actions-
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrder
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public boolean init(Plugin plugin)
Description copied from interface:PluginComponent
Initialize the component with the given plugin configuration- Specified by:
init
in interfacePluginComponent
- Parameters:
plugin
- the calling plugin- Returns:
- true if the component has been correctly initialized.
- Since:
- jcms-5.7.1
- See Also:
PluginComponent.init(Plugin)
-
setupPlugin
public void setupPlugin(Plugin plugin)
Description copied from interface:PluginPolicyFilter
Called after given plugin setup to execute specific actions- Specified by:
setupPlugin
in interfacePluginPolicyFilter
- Parameters:
plugin
- the setuped plugin- See Also:
PluginPolicyFilter.setupPlugin(Plugin)
-
deployPlugin
public void deployPlugin(Plugin plugin, java.lang.String archiveName)
Description copied from interface:PluginPolicyFilter
Called after given plugin deployement to execute specific actions- Specified by:
deployPlugin
in interfacePluginPolicyFilter
- Parameters:
plugin
- the deployed pluginarchiveName
- the deployed archive name- See Also:
PluginPolicyFilter.deployPlugin(Plugin,String)
-
uninstallPlugin
public void uninstallPlugin(Plugin plugin)
Description copied from interface:PluginPolicyFilter
Called after given plugin uninstall to execute specific actions- Specified by:
uninstallPlugin
in interfacePluginPolicyFilter
- Parameters:
plugin
- the uninstaled plugin- See Also:
PluginPolicyFilter.uninstallPlugin(Plugin)
-
-