org.apache.maven.monitor.event
Class DefaultEventDispatcher

java.lang.Object
  extended by org.apache.maven.monitor.event.DefaultEventDispatcher
All Implemented Interfaces:
EventDispatcher

public class DefaultEventDispatcher
extends Object
implements EventDispatcher

Author:
jdcasey

Constructor Summary
DefaultEventDispatcher()
           
 
Method Summary
 void addEventMonitor(EventMonitor monitor)
           
 void dispatchEnd(String event, String target)
           
 void dispatchError(String event, String target, Throwable cause)
           
 void dispatchStart(String event, String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEventDispatcher

public DefaultEventDispatcher()
Method Detail

addEventMonitor

public void addEventMonitor(EventMonitor monitor)
Specified by:
addEventMonitor in interface EventDispatcher

dispatchStart

public void dispatchStart(String event,
                          String target)
Specified by:
dispatchStart in interface EventDispatcher

dispatchEnd

public void dispatchEnd(String event,
                        String target)
Specified by:
dispatchEnd in interface EventDispatcher

dispatchError

public void dispatchError(String event,
                          String target,
                          Throwable cause)
Specified by:
dispatchError in interface EventDispatcher


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