Package org.drasyl.plugin
Class PluginManager
- java.lang.Object
-
- org.drasyl.plugin.PluginManager
-
public class PluginManager extends Object
ThePluginManager
notifies all enabled plugins about specific node events (like startup or shutdown).
-
-
Constructor Summary
Constructors Constructor Description PluginManager(DrasylConfig config, Identity identity, Pipeline pipeline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterShutdown()
This method get called last when theDrasylNode
is shut down.void
afterStart()
This method is called last when theDrasylNode
is started.void
beforeShutdown()
This method get called first when theDrasylNode
is shut down.void
beforeStart()
This method is called first when theDrasylNode
is started.
-
-
-
Constructor Detail
-
PluginManager
public PluginManager(DrasylConfig config, Identity identity, Pipeline pipeline)
-
-
Method Detail
-
beforeStart
public void beforeStart()
This method is called first when theDrasylNode
is started.
-
afterStart
public void afterStart()
This method is called last when theDrasylNode
is started.
-
beforeShutdown
public void beforeShutdown()
This method get called first when theDrasylNode
is shut down.
-
afterShutdown
public void afterShutdown()
This method get called last when theDrasylNode
is shut down.
-
-