Package org.pf4j
Class LoggingPluginStateListener
- java.lang.Object
-
- org.pf4j.LoggingPluginStateListener
-
- All Implemented Interfaces:
java.util.EventListener
,PluginStateListener
public class LoggingPluginStateListener extends java.lang.Object implements PluginStateListener
It's an implementation ofPluginStateListener
that writes all events to logger (DEBUG level). This listener is added automatically byDefaultPluginManager
fordev
mode.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description LoggingPluginStateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pluginStateChanged(PluginStateEvent event)
Invoked when a plugin's state (for example DISABLED, STARTED) is changed.
-
-
-
Method Detail
-
pluginStateChanged
public void pluginStateChanged(PluginStateEvent event)
Description copied from interface:PluginStateListener
Invoked when a plugin's state (for example DISABLED, STARTED) is changed.- Specified by:
pluginStateChanged
in interfacePluginStateListener
-
-