Package org.yamcs
Class AbstractPlugin
java.lang.Object
org.yamcs.AbstractPlugin
- All Implemented Interfaces:
Plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected YConfigurationprotected final Logprotected Stringprotected Stringprotected final YamcsServer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLog()abstract voidinit()final voidonLoad(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, waitMethods 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:PluginCallback executed when the plugin is loaded.This is executed after Yamcs has created all configured services, but before actually starting them.
- Specified by:
onLoadin interfacePlugin- Throws:
PluginException
-
init
- Throws:
PluginException
-
getLog
-
getConfig
-