Skip navigation links
oracle.security.am.plugin
Class AbstractPluginExecutionStrategy
java.lang.Object
oracle.security.am.plugin.AbstractAMPlugin
oracle.security.am.plugin.AbstractPluginExecutionStrategy
- All Implemented Interfaces:
- GenericPluginService, PluginExecutionStrategy
-
public abstract class AbstractPluginExecutionStrategy
- extends AbstractAMPlugin
- implements PluginExecutionStrategy
Abstract base class for creating plug-in execution strategy. All plug-in execution strategy classes should extend this class. ModuleAdvice executionStrategy(PluginContext context, String currentPlugin,String currentModulePlugin, List<String>pluginList);
Method should be implemented by the extending classes ModuleAdvice
should have the proper advice and the next module name set. Plugin execution will continue till ModuleAdvice returns an Advice.STOP
advice
- Since:
- OAM 11.1.1.5.0
- Version:
- OAM 11.1.2.0.0
Field Summary |
protected static java.util.logging.Logger |
LOGGER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static java.util.logging.Logger LOGGER
AbstractPluginExecutionStrategy
public AbstractPluginExecutionStrategy()
processExecutionStrategy
public abstract ModuleAdvice processExecutionStrategy(PluginContext context,
java.lang.String currentPlugin,
ExecutionStatus currentPluginStatus,
java.util.List<java.lang.String> pluginList)
- Description copied from interface:
PluginExecutionStrategy
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.
-
- Specified by:
processExecutionStrategy
in interface PluginExecutionStrategy
-
- Parameters:
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
advice
currentPluginStatus
- 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
- Returns:
- the module advice
getDescription
public abstract java.lang.String getDescription()
-
- Specified by:
getDescription
in interface GenericPluginService
-
- Returns:
- the description
getMonitoringData
public abstract java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
- Description copied from interface:
GenericPluginService
- plug-in can return monitoring data after plug-in execution is complete. Server will log this data.
-
- Specified by:
getMonitoringData
in interface GenericPluginService
-
- Returns:
- the monitoring data
getMonitoringStatus
public abstract boolean getMonitoringStatus()
- Description copied from interface:
GenericPluginService
- set the monitoring status for the plug-in.
-
- Specified by:
getMonitoringStatus
in interface GenericPluginService
-
- Returns:
- the monitoring status
getPluginName
public abstract java.lang.String getPluginName()
-
- Specified by:
getPluginName
in interface GenericPluginService
-
- Returns:
- String name of the plug-in.
getRevision
public abstract int getRevision()
-
- Specified by:
getRevision
in interface GenericPluginService
-
- Returns:
- the revision
setMonitoringStatus
public abstract void setMonitoringStatus(boolean status)
-
- Specified by:
setMonitoringStatus
in interface GenericPluginService
-
- Parameters:
status
- the new monitoring status
getStartingStep
public java.lang.String getStartingStep(AuthenticationContext authnContext)
Skip navigation links
Copyright © 2013, Oracle Corp. All Rights Reserved.