uk.ac.ncl.cs.instantsoap.strategydp
Interface StrategyDispatcher.ValidatedJob

Enclosing interface:
StrategyDispatcher

public static interface StrategyDispatcher.ValidatedJob

A validated jobManager. This can be used to actually dispatch the jobManager.

Author:
Matthew Pocock

Method Summary
 UUID dispatch(StrategyDispatcherListener sdl)
          Dispatch the jobManager, informing sdl.
 JobSpecification getJobSpecification()
          The jobManager specification that was validated.
 

Method Detail

getJobSpecification

JobSpecification getJobSpecification()
The jobManager specification that was validated.

Returns:
the validated JobSpecification

dispatch

UUID dispatch(StrategyDispatcherListener sdl)
Dispatch the jobManager, informing sdl.

This is expected to return as early as possible, and should not wait until the jobManager has been run. It is possible that the call-back methods on sdl may be invoked before this method returns.

This may be invoked multiple times. Each time, it must perform an independent invocation, and assign it a unique SerializableUuid.

Parameters:
sdl - the listener to inform about the progess of the jobManager
Returns:
the SerializableUuid identifying the dispatch


Copyright © 2006-2008. All Rights Reserved.