Version: ${maven.project.version}

org.soaplab.services.events
Class DefaultEventListener

java.lang.Object
  extended by org.soaplab.services.events.DefaultEventListener
All Implemented Interfaces:
EventListener

public class DefaultEventListener
extends java.lang.Object
implements EventListener

A default implementation of an EventListener interface. It logs all events in a logging level as indicated by configuration properties PROP_EVENT_LOG_LEVEL and PROP__EVENT_IGNORE_HEARBEAT.

Version:
$Id: DefaultEventListener.java,v 1.3 2006/11/20 01:49:35 marsenger Exp $
Author:
Martin Senger

Constructor Summary
DefaultEventListener()
           
 
Method Summary
 void handleAnalysisEvent(AnalysisEvent event)
          This method is called when a general event is sent, or its subclass that is not explicitly known to this interface.
 void handleHeartbeatProgressEvent(HeartbeatProgressEvent event)
          This method is called when a "heart-beat" event is sent.
 void handlePercentProgressEvent(PercentProgressEvent event)
          This method is called when a "percent progress" event is sent.
 void handleStateChangeEvent(StateChangeEvent event)
          This method is called when a "state-changed" event is sent.
 void handleStepProgressEvent(StepProgressEvent event)
          This method is called when a "step progress" event is sent.
 void handleTimeProgressEvent(TimeProgressEvent event)
          This method is called when a "time progress" event is sent.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEventListener

public DefaultEventListener()
Method Detail

handleAnalysisEvent

public void handleAnalysisEvent(AnalysisEvent event)
Description copied from interface: EventListener
This method is called when a general event is sent, or its subclass that is not explicitly known to this interface.

Specified by:
handleAnalysisEvent in interface EventListener
Parameters:
event - that was sent

handleStateChangeEvent

public void handleStateChangeEvent(StateChangeEvent event)
Description copied from interface: EventListener
This method is called when a "state-changed" event is sent.

Specified by:
handleStateChangeEvent in interface EventListener
Parameters:
event - that was sent

handleHeartbeatProgressEvent

public void handleHeartbeatProgressEvent(HeartbeatProgressEvent event)
Description copied from interface: EventListener
This method is called when a "heart-beat" event is sent.

Specified by:
handleHeartbeatProgressEvent in interface EventListener
Parameters:
event - that was sent

handlePercentProgressEvent

public void handlePercentProgressEvent(PercentProgressEvent event)
Description copied from interface: EventListener
This method is called when a "percent progress" event is sent.

Specified by:
handlePercentProgressEvent in interface EventListener
Parameters:
event - that was sent

handleStepProgressEvent

public void handleStepProgressEvent(StepProgressEvent event)
Description copied from interface: EventListener
This method is called when a "step progress" event is sent.

Specified by:
handleStepProgressEvent in interface EventListener
Parameters:
event - that was sent

handleTimeProgressEvent

public void handleTimeProgressEvent(TimeProgressEvent event)
Description copied from interface: EventListener
This method is called when a "time progress" event is sent.

Specified by:
handleTimeProgressEvent in interface EventListener
Parameters:
event - that was sent

Version: ${maven.project.version}

Submit a bug or feature
Generated: Tue Jun 14 15:18:14 AST 2011