org.apache.maven.eventspy.internal
Class EventSpyDispatcher

java.lang.Object
  extended by org.apache.maven.eventspy.internal.EventSpyDispatcher

@Component(role=EventSpyDispatcher.class)
public class EventSpyDispatcher
extends Object

Dispatches callbacks to all registered eventspies.


Constructor Summary
EventSpyDispatcher()
           
 
Method Summary
 ExecutionListener chainListener(ExecutionListener listener)
           
 RepositoryListener chainListener(RepositoryListener listener)
           
 void close()
           
 List<EventSpy> getEventSpies()
           
 void init(EventSpy.Context context)
           
 void onEvent(Object event)
           
 void setEventSpies(List<EventSpy> eventSpies)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventSpyDispatcher

public EventSpyDispatcher()
Method Detail

setEventSpies

public void setEventSpies(List<EventSpy> eventSpies)

getEventSpies

public List<EventSpy> getEventSpies()

chainListener

public ExecutionListener chainListener(ExecutionListener listener)

chainListener

public RepositoryListener chainListener(RepositoryListener listener)

init

public void init(EventSpy.Context context)

onEvent

public void onEvent(Object event)

close

public void close()


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