Package oracle.security.am.plugin
Class AbstractPluginExecutionStrategy
java.lang.Object
oracle.security.am.plugin.OAMAbstractAMPlugin
oracle.security.am.plugin.AbstractPluginExecutionStrategy
- All Implemented Interfaces:
 GenericPluginService,PluginExecutionStrategy
public abstract class AbstractPluginExecutionStrategy
extends OAMAbstractAMPlugin
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.2.0
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.security.am.plugin.GenericPluginService
GenericPluginService.QueryKey - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract Stringabstract Map<String,<wbr>MonitoringData>plug-in can return monitoring data after plug-in execution is complete.abstract booleanset the monitoring status for the plug-in.abstract Stringabstract intgetStartingStep<wbr>(oracle.security.am.plugin.authn.AuthenticationContext authnContext)abstract ModuleAdviceprocessExecutionStrategy<wbr>(PluginContext context, String currentPlugin, ExecutionStatus currentPluginStatus, List<String> pluginList)processExecutionStrategymethod will be called before execution of the first module and after execution of each modules in the module list.abstract voidsetMonitoringStatus<wbr>(boolean status)Methods inherited from class oracle.security.am.plugin.OAMAbstractAMPlugin
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdownMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oracle.security.am.plugin.GenericPluginService
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown 
- 
Constructor Details
- 
AbstractPluginExecutionStrategy
public AbstractPluginExecutionStrategy() 
 - 
 - 
Method Details
- 
processExecutionStrategy
public abstract ModuleAdvice processExecutionStrategy<wbr>(PluginContext context, String currentPlugin, ExecutionStatus currentPluginStatus, List<String> pluginList)Description copied from interface:PluginExecutionStrategyprocessExecutionStrategymethod 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:
 processExecutionStrategyin interfacePluginExecutionStrategy- Parameters:
 context- context of the plug-in.aPluginContextobject that will contain the execution context for plug-ins.currentPlugin- the current plug-in that is executed. If it is called before the execution.should have the proper advice and the next module name set. Plugin execution will continue till ModuleAdvice returns anModuleAdviceAdvice.STOPadvicecurrentPluginStatus- is the status of the current plugin execution. aExecutionStatusobject 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
- Specified by:
 getDescriptionin interfaceGenericPluginService- Returns:
 - the description
 
 - 
getMonitoringData
Description copied from interface:GenericPluginServiceplug-in can return monitoring data after plug-in execution is complete. Server will log this data.- Specified by:
 getMonitoringDatain interfaceGenericPluginService- Returns:
 - the monitoring data
 
 - 
getMonitoringStatus
public abstract boolean getMonitoringStatus()Description copied from interface:GenericPluginServiceset the monitoring status for the plug-in.- Specified by:
 getMonitoringStatusin interfaceGenericPluginService- Returns:
 - the monitoring status
 
 - 
getPluginName
- Specified by:
 getPluginNamein interfaceGenericPluginService- Returns:
 - String name of the plug-in.
 
 - 
getRevision
public abstract int getRevision()- Specified by:
 getRevisionin interfaceGenericPluginService- Returns:
 - the revision
 
 - 
setMonitoringStatus
public abstract void setMonitoringStatus<wbr>(boolean status)- Specified by:
 setMonitoringStatusin interfaceGenericPluginService- Parameters:
 status- the new monitoring status
 - 
getStartingStep
public String getStartingStep<wbr>(oracle.security.am.plugin.authn.AuthenticationContext authnContext) 
 -