org.apache.maven.plugins.help
Class LoggerRetriever
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugins.help.LoggerRetriever
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled
@Component(role=LoggerRetriever.class,
hint="default",
instantiationStrategy="per-lookup")
public class LoggerRetriever
- extends org.codehaus.plexus.logging.AbstractLogEnabled
A helper to expose a Plexus logger via ordinary dependency injection instead of accessing the container API directly
which is problematic with regard to future changes of the container as in Maven 3.
- Author:
- Benjamin Bentmann
Method Summary |
org.codehaus.plexus.logging.Logger |
getLogger()
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerRetriever
public LoggerRetriever()
getLogger
public org.codehaus.plexus.logging.Logger getLogger()
- Overrides:
getLogger
in class org.codehaus.plexus.logging.AbstractLogEnabled
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.