Class LoggingPluginStateListener
java.lang.Object
org.pf4j.LoggingPluginStateListener
- All Implemented Interfaces:
EventListener, PluginStateListener
It's an implementation of
PluginStateListener that writes all events to logger (DEBUG level).
This listener is added automatically by DefaultPluginManager for dev mode.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when a plugin's state (for example DISABLED, STARTED) is changed.
-
Field Details
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
LoggingPluginStateListener
public LoggingPluginStateListener()
-
-
Method Details
-
pluginStateChanged
Description copied from interface:PluginStateListenerInvoked when a plugin's state (for example DISABLED, STARTED) is changed.- Specified by:
pluginStateChangedin interfacePluginStateListener
-