Package org.yamcs
Class AbstractPlugin
java.lang.Object
org.yamcs.AbstractPlugin
- All Implemented Interfaces:
Plugin
-
Field Summary
Modifier and TypeFieldDescriptionprotected YConfiguration
protected final Log
protected String
protected String
protected final YamcsServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLog()
abstract void
init()
final void
onLoad
(YConfiguration config) Callback executed when the plugin is loaded.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.Plugin
getInstanceSpec, getSpec
-
Field Details
-
log
-
yamcs
-
pluginName
-
pluginVersion
-
config
-
-
Constructor Details
-
AbstractPlugin
public AbstractPlugin()
-
-
Method Details
-
onLoad
Description copied from interface:Plugin
Callback executed when the plugin is loaded.This is executed after Yamcs has created all configured services, but before actually starting them.
- Specified by:
onLoad
in interfacePlugin
- Throws:
PluginException
-
init
- Throws:
PluginException
-
getLog
-
getConfig
-