org.prevayler.foundation.monitor
Interface Monitor

All Known Implementing Classes:
Log4jMonitor, LoggingMonitor, NullMonitor, SimpleMonitor

public interface Monitor

A Monitor for interesting events in the system.


Method Summary
 void notify(Class clazz, String message)
          Something interesting happened.
 void notify(Class clazz, String message, Exception ex)
          An interesting exception was thrown.
 void notify(Class clazz, String message, File file)
          Something interesting happened regarding access to a file.
 void notify(Class clazz, String message, File file, Exception ex)
          An exception was thrown while trying to access a file.
 

Method Detail

notify

void notify(Class clazz,
            String message)
Something interesting happened.


notify

void notify(Class clazz,
            String message,
            Exception ex)
An interesting exception was thrown.


notify

void notify(Class clazz,
            String message,
            File file)
Something interesting happened regarding access to a file.


notify

void notify(Class clazz,
            String message,
            File file,
            Exception ex)
An exception was thrown while trying to access a file.



Copyright © 2001-2013. All Rights Reserved.