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, 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
Method Summary |
void |
deployPlugin(Plugin plugin,
String archiveName)
Called after given plugin deployement to execute
specific actions |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration |
void |
setupPlugin(Plugin plugin)
Called after given plugin setup to execute
specific actions |
void |
uninstallPlugin(Plugin plugin)
Called after given plugin uninstall to execute
specific actions |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
BasicPluginPolicyFilter
public BasicPluginPolicyFilter()
init
public boolean init(Plugin plugin)
- Description copied from interface:
PluginComponent
- Initialize the component with the given plugin configuration
- Specified by:
init
in interface PluginComponent
- 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 interface PluginPolicyFilter
- Parameters:
plugin
- the setuped plugin- See Also:
PluginPolicyFilter.setupPlugin(Plugin)
deployPlugin
public void deployPlugin(Plugin plugin,
String archiveName)
- Description copied from interface:
PluginPolicyFilter
- Called after given plugin deployement to execute
specific actions
- Specified by:
deployPlugin
in interface PluginPolicyFilter
- 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 interface PluginPolicyFilter
- Parameters:
plugin
- the uninstaled plugin- See Also:
PluginPolicyFilter.uninstallPlugin(Plugin)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.