org.apache.maven.plugins.help
Class LoggerRetriever
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugins.help.LoggerRetriever
- All Implemented Interfaces:
- LogEnabled
public class LoggerRetriever
- extends 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
- Plexus component:
- role-hint:
- "default"
- instantiation-strategy:
- "per-lookup"
- role:
- "org.apache.maven.plugins.help.LoggerRetriever"
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerRetriever
public LoggerRetriever()
getLogger
public Logger getLogger()
- Overrides:
getLogger
in class AbstractLogEnabled
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.