org.apache.openjpa.lib.log
Class CommonsLogFactory

java.lang.Object
  extended by org.apache.openjpa.lib.log.LogFactoryAdapter
      extended by org.apache.openjpa.lib.log.CommonsLogFactory
All Implemented Interfaces:
LogFactory

public class CommonsLogFactory
extends LogFactoryAdapter

LogFactory implementation that delegates to the commons logging framework.

Author:
Patrick Linskey

Nested Class Summary
static class CommonsLogFactory.LogAdapter
          Adapts a commons logging log to the Log interface.
 
Constructor Summary
CommonsLogFactory()
           
 
Method Summary
protected  Log newLogAdapter(String channel)
          Return a log adapter for the given channel.
 
Methods inherited from class org.apache.openjpa.lib.log.LogFactoryAdapter
getLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLogFactory

public CommonsLogFactory()
Method Detail

newLogAdapter

protected Log newLogAdapter(String channel)
Description copied from class: LogFactoryAdapter
Return a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.

Specified by:
newLogAdapter in class LogFactoryAdapter


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.