public interface PluginExecutionStrategy extends GenericPluginService
PluginExecutionStrategyPlug-in Execution Strategy provided
the flexibility to control the execution of multiple plug-ins
which gets executed one after other. This particularly useful in chained authentication
module execution.
User should be able to provide the next plug-in to be executed from the list of
plug-ins configured using a PluginExecutionStrategy plug-in implementation.GenericPluginService.QueryKey| Modifier and Type | Method and Description |
|---|---|
ModuleAdvice |
processExecutionStrategy(PluginContext context,
java.lang.String currentPlugin,
ExecutionStatus currentPluginStatus,
java.util.List<java.lang.String> pluginList)
processExecutionStrategy method will be called before execution
of the first module and after execution of each modules in the module list. |
getDescription, getID, getLogger, getMaxWaitIntervel, getMonitoringData, getMonitoringStatus, getPluginConfig, getPluginName, getRevision, initialize, poweronSelfTest, setMonitoringStatus, shutdownModuleAdvice processExecutionStrategy(PluginContext context, java.lang.String currentPlugin, ExecutionStatus currentPluginStatus, java.util.List<java.lang.String> pluginList)
processExecutionStrategy method will be called before execution
of the first module and after execution of each modules in the module list.
Next module will be called based on the module name specified in the ModuleAdvice.context - context of the plug-in.a PluginContext object that will contain
the execution context for plug-ins.currentPlugin - the current plug-in that is executed. If it is called
before the execution.
ModuleAdvice should have the proper advice and the next module
name set. Plugin execution will continue till ModuleAdvice returns
an Advice.STOP advicecurrentPluginStatus - is the status of the current plugin execution.
a ExecutionStatus object will be provided to the strategy.
This will be null when the strategy is called before execution.pluginList - the plugin list