uk.ac.ncl.cs.instantsoap.strategydp
Interface StrategyDispatcherListener

All Known Implementing Classes:
AsynchronousServiceDispatcherImpl.StrategyDispatcherListenerImpl

public interface StrategyDispatcherListener

The mechanism for finding out how a job is running.

This interface should be implemented in the way that one instance of the implementation is dedicated to one jobManager.

Version:
1.0
Author:
Phillip Lord, Matthew Pocock, Cheng-Yang(Louis) Tang

Method Summary
 void jobCompletedSuccessfully(Map<String,String> result)
          Notification that the job has completed successfully.
 void jobFailed(Throwable failureReason)
          Notification that the job has failed.
 void jobStarted()
          Notification that the job has started.
 

Method Detail

jobStarted

void jobStarted()
Notification that the job has started.


jobCompletedSuccessfully

void jobCompletedSuccessfully(Map<String,String> result)
                              throws JobExecutionException
Notification that the job has completed successfully.

Parameters:
result - the Map of result values
Throws:
JobExecutionException

jobFailed

void jobFailed(Throwable failureReason)
Notification that the job has failed.

Parameters:
failureReason - the Throwable describing the failure


Copyright © 2006-2008. All Rights Reserved.