org.apache.maven.plugins.help
Class LoggerRetriever

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by 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"

Constructor Summary
LoggerRetriever()
           
 
Method Summary
 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
 

Constructor Detail

LoggerRetriever

public LoggerRetriever()
Method Detail

getLogger

public Logger getLogger()
Overrides:
getLogger in class AbstractLogEnabled


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.