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 ofPluginStateListenerthat writes all events to logger (DEBUG level). This listener is added automatically byDefaultPluginManagerfordevmode.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description LoggingPluginStateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpluginStateChanged(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:PluginStateListenerInvoked when a plugin's state (for example DISABLED, STARTED) is changed.- Specified by:
pluginStateChangedin interfacePluginStateListener
-
-