org.apache.maven.eventspy
Class AbstractEventSpy

java.lang.Object
  extended by org.apache.maven.eventspy.AbstractEventSpy
All Implemented Interfaces:
EventSpy

public abstract class AbstractEventSpy
extends Object
implements EventSpy

A skeleton eventspy that does nothing other than helping implementors.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy
EventSpy.Context
 
Constructor Summary
AbstractEventSpy()
           
 
Method Summary
 void close()
           
 void init(EventSpy.Context context)
           
 void onEvent(Object event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEventSpy

public AbstractEventSpy()
Method Detail

init

public void init(EventSpy.Context context)
          throws Exception
Specified by:
init in interface EventSpy
Throws:
Exception

onEvent

public void onEvent(Object event)
             throws Exception
Specified by:
onEvent in interface EventSpy
Throws:
Exception

close

public void close()
           throws Exception
Specified by:
close in interface EventSpy
Throws:
Exception


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