org.apache.avalon.cornerstone.blocks.connection
Class CommonsLoggingConnectionMonitor

java.lang.Object
  extended byorg.apache.avalon.cornerstone.blocks.connection.CommonsLoggingConnectionMonitor
All Implemented Interfaces:
ConnectionMonitor

public class CommonsLoggingConnectionMonitor
extends java.lang.Object
implements ConnectionMonitor

A Commons Logging implementation of the ConnectionMonitor. Not very IoC, but then, nor is CommonsLogging.

Version:
$Revision: 1.8 $
Author:
Paul Hammant

Constructor Summary
CommonsLoggingConnectionMonitor()
           
 
Method Summary
 void acceptingConnectionException(java.lang.Class clazz, java.lang.String message, java.io.IOException ioe)
           
 void debugMessage(java.lang.Class clazz, java.lang.String message)
           
 boolean isDebugEnabled(java.lang.Class clazz)
           
 void shutdownSocketWarning(java.lang.Class clazz, java.lang.String message, java.io.IOException ioe)
           
 void unexpectedException(java.lang.Class clazz, java.lang.String message, java.lang.Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLoggingConnectionMonitor

public CommonsLoggingConnectionMonitor()
Method Detail

acceptingConnectionException

public void acceptingConnectionException(java.lang.Class clazz,
                                         java.lang.String message,
                                         java.io.IOException ioe)
Specified by:
acceptingConnectionException in interface ConnectionMonitor

unexpectedException

public void unexpectedException(java.lang.Class clazz,
                                java.lang.String message,
                                java.lang.Exception e)
Specified by:
unexpectedException in interface ConnectionMonitor

shutdownSocketWarning

public void shutdownSocketWarning(java.lang.Class clazz,
                                  java.lang.String message,
                                  java.io.IOException ioe)
Specified by:
shutdownSocketWarning in interface ConnectionMonitor

debugMessage

public void debugMessage(java.lang.Class clazz,
                         java.lang.String message)
Specified by:
debugMessage in interface ConnectionMonitor

isDebugEnabled

public boolean isDebugEnabled(java.lang.Class clazz)
Specified by:
isDebugEnabled in interface ConnectionMonitor


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.