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, stopgetID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdownpublic abstract ExecutionStatus process(MessageContext context) throws MessageProcessingException
process in interface OIFMessageProcessingIFPlugincontext - MessageProcessingExceptionpublic abstract java.lang.String getDescription()
getDescription in interface GenericPluginServicepublic abstract java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
GenericPluginServicegetMonitoringData in interface GenericPluginServicepublic abstract boolean getMonitoringStatus()
GenericPluginServicegetMonitoringStatus in interface GenericPluginServicepublic abstract java.lang.String getPluginName()
getPluginName in interface GenericPluginServicepublic abstract int getRevision()
getRevision in interface GenericPluginServicepublic abstract void setMonitoringStatus(boolean status)
setMonitoringStatus in interface GenericPluginServicestatus - the new monitoring status