public abstract class OIFMessageProcessingPlugin extends AbstractAMPlugin implements OIFMessageProcessingIFPlugin
OIFMessageProcessingPlugin
class.
The process() method will implement the logic required to process and modify the message.
The initialize method will get the plugin configuration
Plug-ins that needs to handle the resource cleanup should override
shutdown(Map < String, Object > OAMEnvironmentContext)
GenericPluginService.QueryKey
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
LOGGER |
Constructor and Description |
---|
OIFMessageProcessingPlugin() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getDescription() |
abstract java.util.Map<java.lang.String,MonitoringData> |
getMonitoringData()
plug-in can return monitoring data after plug-in execution is
complete.
|
abstract boolean |
getMonitoringStatus()
set the monitoring status for the plug-in.
|
abstract java.lang.String |
getPluginName() |
abstract int |
getRevision() |
abstract ExecutionStatus |
process(MessageContext context)
Plugin implementations will extract data from context information passed in, implement
logic to process and modify the message and return the ExectionStatus back to caller.
|
abstract void |
setMonitoringStatus(boolean status) |
shutdownPlugin, start, startPlugin, stop
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown
public abstract ExecutionStatus process(MessageContext context) throws MessageProcessingException
process
in interface OIFMessageProcessingIFPlugin
context
- MessageProcessingException
public abstract java.lang.String getDescription()
getDescription
in interface GenericPluginService
public abstract java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
GenericPluginService
getMonitoringData
in interface GenericPluginService
public abstract boolean getMonitoringStatus()
GenericPluginService
getMonitoringStatus
in interface GenericPluginService
public abstract java.lang.String getPluginName()
getPluginName
in interface GenericPluginService
public abstract int getRevision()
getRevision
in interface GenericPluginService
public abstract void setMonitoringStatus(boolean status)
setMonitoringStatus
in interface GenericPluginService
status
- the new monitoring status