org.kantega.jexmec.logging
Class LoggingPluginManagerListener<P>
java.lang.Object
org.kantega.jexmec.PluginManagerListener<P>
org.kantega.jexmec.logging.LoggingPluginManagerListener<P>
public class LoggingPluginManagerListener<P>
- extends PluginManagerListener<P>
A plugin manager listener logging all events to an SLF4J logger
|
Constructor Summary |
LoggingPluginManagerListener()
Creates a LoggingPluginManagerListener logging to the default Logger,
retrieved by calling LoggerFactory.getLogger(LoggingPluginManagerListener.class) |
LoggingPluginManagerListener(org.slf4j.Logger logger)
Creates a LoggingPluginManagerListener logging to the given Logger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingPluginManagerListener
public LoggingPluginManagerListener(org.slf4j.Logger logger)
- Creates a LoggingPluginManagerListener logging to the given Logger.
- Parameters:
logger - the Logger to log events to
LoggingPluginManagerListener
public LoggingPluginManagerListener()
- Creates a LoggingPluginManagerListener logging to the default Logger,
retrieved by calling
LoggerFactory.getLogger(LoggingPluginManagerListener.class)
beforePluginManagerStarted
public void beforePluginManagerStarted(PluginManagerEvent<P> event)
- Overrides:
beforePluginManagerStarted in class PluginManagerListener<P>
afterPluginManagerStarted
public void afterPluginManagerStarted(PluginManagerEvent<P> event)
- Overrides:
afterPluginManagerStarted in class PluginManagerListener<P>
beforePluginManagerStopped
public void beforePluginManagerStopped(PluginManagerEvent<P> event)
- Overrides:
beforePluginManagerStopped in class PluginManagerListener<P>
afterPluginManagerStopped
public void afterPluginManagerStopped(PluginManagerEvent<P> event)
- Overrides:
afterPluginManagerStopped in class PluginManagerListener<P>
beforeClassLoaderAdded
public void beforeClassLoaderAdded(PluginClassLoaderEvent<P> event)
- Overrides:
beforeClassLoaderAdded in class PluginManagerListener<P>
afterClassLoaderAdded
public void afterClassLoaderAdded(PluginClassLoaderEvent<P> event)
- Overrides:
afterClassLoaderAdded in class PluginManagerListener<P>
beforeClassLoaderRemoved
public void beforeClassLoaderRemoved(PluginClassLoaderEvent<P> event)
- Overrides:
beforeClassLoaderRemoved in class PluginManagerListener<P>
afterClassLoaderRemoved
public void afterClassLoaderRemoved(PluginClassLoaderEvent<P> event)
- Overrides:
afterClassLoaderRemoved in class PluginManagerListener<P>
beforeActivation
public void beforeActivation(PluginRegistrationEvent<P> event)
- Overrides:
beforeActivation in class PluginManagerListener<P>
afterActivation
public void afterActivation(PluginRegistrationEvent<P> event)
- Overrides:
afterActivation in class PluginManagerListener<P>
beforePassivation
public void beforePassivation(PluginRegistrationEvent<P> event)
- Overrides:
beforePassivation in class PluginManagerListener<P>
afterPassivation
public void afterPassivation(PluginRegistrationEvent<P> event)
- Overrides:
afterPassivation in class PluginManagerListener<P>
pluginsUpdated
public void pluginsUpdated(List<P> plugins)
- Overrides:
pluginsUpdated in class PluginManagerListener<P>
pluginLoadingFailedWithException
public void pluginLoadingFailedWithException(PluginLoadingExceptionEvent<P> event)
- Overrides:
pluginLoadingFailedWithException in class PluginManagerListener<P>
Copyright © 2011. All Rights Reserved.