org.apache.maven.monitor.event
Class AbstractEmbedderLifecycleMonitor

java.lang.Object
  extended by org.apache.maven.monitor.event.AbstractSelectiveEventMonitor
      extended by org.apache.maven.monitor.event.AbstractEmbedderLifecycleMonitor
All Implemented Interfaces:
EventMonitor, MavenEmbedderLifecycleMonitor

public abstract class AbstractEmbedderLifecycleMonitor
extends AbstractSelectiveEventMonitor
implements MavenEmbedderLifecycleMonitor


Field Summary
static java.lang.String[] EMBEDDER_LIFECYCLE_EVENTS
           
 
Constructor Summary
protected AbstractEmbedderLifecycleMonitor()
           
 
Method Summary
protected  void doEndEvent(java.lang.String eventName, java.lang.String target, long timestamp)
           
protected  void doStartEvent(java.lang.String eventName, java.lang.String target, long timestamp)
           
 void embedderInitialized(long timestamp)
           
 void embedderMethodEnded(java.lang.String method, long timestamp)
           
 void embedderMethodStarted(java.lang.String method, long timestamp)
           
 void embedderStopped(long timestamp)
           
 
Methods inherited from class org.apache.maven.monitor.event.AbstractSelectiveEventMonitor
doErrorEvent, endEvent, errorEvent, startEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMBEDDER_LIFECYCLE_EVENTS

public static final java.lang.String[] EMBEDDER_LIFECYCLE_EVENTS
Constructor Detail

AbstractEmbedderLifecycleMonitor

protected AbstractEmbedderLifecycleMonitor()
Method Detail

embedderInitialized

public void embedderInitialized(long timestamp)
Specified by:
embedderInitialized in interface MavenEmbedderLifecycleMonitor

embedderStopped

public void embedderStopped(long timestamp)
Specified by:
embedderStopped in interface MavenEmbedderLifecycleMonitor

embedderMethodStarted

public void embedderMethodStarted(java.lang.String method,
                                  long timestamp)
Specified by:
embedderMethodStarted in interface MavenEmbedderLifecycleMonitor

embedderMethodEnded

public void embedderMethodEnded(java.lang.String method,
                                long timestamp)
Specified by:
embedderMethodEnded in interface MavenEmbedderLifecycleMonitor

doEndEvent

protected void doEndEvent(java.lang.String eventName,
                          java.lang.String target,
                          long timestamp)
Overrides:
doEndEvent in class AbstractSelectiveEventMonitor

doStartEvent

protected void doStartEvent(java.lang.String eventName,
                            java.lang.String target,
                            long timestamp)
Overrides:
doStartEvent in class AbstractSelectiveEventMonitor


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