public class PluginCore extends FPlugin
Constructor and Description |
---|
PluginCore()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addShutdownListener(ShutdownListener l)
Adds
ShutdownListener . |
void |
initPlugin()
The agent calls this method to initialize plugin.
|
void |
removeShutdownListener(ShutdownListener l)
Removes
ShutdownListener . |
void |
reportException(java.lang.String comment,
java.lang.Throwable e)
Call this method to report a caught exception in the application
to the MIB browser.
|
getMib, loadDefaultProperties, loadDefaultProperty, setAgent
public void initPlugin() throws FException
initPlugin
in class FPlugin
FException
- failure to init plugin.FPlugin.initPlugin()
public void addShutdownListener(ShutdownListener l)
ShutdownListener
.l
- ShutdownListener
object.public void removeShutdownListener(ShutdownListener l)
ShutdownListener
.l
- ShutdownListener
object.public void reportException(java.lang.String comment, java.lang.Throwable e)
comment
- error message.e
- exception.