@Component(role=EventSpyDispatcher.class) public class EventSpyDispatcher extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<EventSpy> |
eventSpies |
private org.codehaus.plexus.logging.Logger |
logger |
Constructor and Description |
---|
EventSpyDispatcher() |
Modifier and Type | Method and Description |
---|---|
ExecutionListener |
chainListener(ExecutionListener listener) |
org.eclipse.aether.RepositoryListener |
chainListener(org.eclipse.aether.RepositoryListener listener) |
void |
close() |
java.util.List<EventSpy> |
getEventSpies() |
void |
init(EventSpy.Context context) |
private void |
logError(java.lang.String action,
java.lang.Throwable e,
EventSpy spy) |
void |
onEvent(java.lang.Object event) |
void |
setEventSpies(java.util.List<EventSpy> eventSpies) |
@Requirement private org.codehaus.plexus.logging.Logger logger
@Requirement(role=EventSpy.class) private java.util.List<EventSpy> eventSpies
public void setEventSpies(java.util.List<EventSpy> eventSpies)
public java.util.List<EventSpy> getEventSpies()
public ExecutionListener chainListener(ExecutionListener listener)
public org.eclipse.aether.RepositoryListener chainListener(org.eclipse.aether.RepositoryListener listener)
public void init(EventSpy.Context context)
public void onEvent(java.lang.Object event)
public void close()
private void logError(java.lang.String action, java.lang.Throwable e, EventSpy spy)