public abstract class OAMAbstractAMPlugin extends java.lang.Object implements GenericPluginService
GenericPluginService.QueryKey| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
LOGGER
The LOGGER.
|
| Constructor and Description |
|---|
OAMAbstractAMPlugin() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getID()
returns the unique ID of the plug-in.
|
java.util.logging.Logger |
getLogger()
returns the logger configured for the plug-in.
|
long |
getMaxWaitIntervel()
returns the max wait interval in milliseconds.
|
PluginConfig |
getPluginConfig()
Gets the plugin config.
|
ExecutionStatus |
initialize(PluginConfig config)
The function initializes the Plug-in.
|
boolean |
poweronSelfTest()
Plug-ins need to override this method to the
self test when the plug-ins are loaded.
|
ExecutionStatus |
shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
Shutdown.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getMonitoringData, getMonitoringStatus, getPluginName, getRevision, setMonitoringStatuspublic java.lang.String getID()
GenericPluginServicegetID in interface GenericPluginServicepublic java.util.logging.Logger getLogger()
GenericPluginServicegetLogger in interface GenericPluginServicepublic long getMaxWaitIntervel()
GenericPluginServicegetMaxWaitIntervel in interface GenericPluginServicepublic final PluginConfig getPluginConfig()
GenericPluginServicegetPluginConfig in interface GenericPluginServicePluginConfig object that contains the
plug-in configuration data.public ExecutionStatus initialize(PluginConfig config)
GenericPluginServiceinitialize in interface GenericPluginServicepublic ExecutionStatus shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
GenericPluginServiceshutdown in interface GenericPluginServiceAMEnvironmentContext - the aM environment contextpublic boolean poweronSelfTest()
GenericPluginServicepoweronSelfTest will be called by the framework after the
plug-in is loaded to check if the plug-in has all the
dependencies satisfied and ready to service.poweronSelfTest in interface GenericPluginService