Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.lib.log
Class CommonsLogFactory

    java.lang.Object
      org.apache.openjpa.lib.log.LogFactoryAdapter
          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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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