Package org.drasyl.plugins
Class PluginManager
java.lang.Object
org.drasyl.plugins.PluginManager
The
PluginManager
notifies all enabled plugins about specific node events (like startup
or shutdown).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method get called last when theDrasylNode
is shut down.void
This method is called last when theDrasylNode
is started.void
This method get called first when theDrasylNode
is shut down.void
This method is called first when theDrasylNode
is started.
-
Constructor Details
-
PluginManager
-
-
Method Details
-
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.
-