org.globus.cog.karajan.workflow.futures
Class FutureNamedArgument

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.futures.FutureNamedArgument
All Implemented Interfaces:
Future, NamedArgumentsListener

public class FutureNamedArgument
extends Object
implements Future, NamedArgumentsListener


Constructor Summary
FutureNamedArgument(String name, NamedArguments named)
           
 
Method Summary
 void addModificationAction(EventListener target, Event event)
          When the future becomes available, send the event to the element.
 void close()
           
 Object getValue()
           
 boolean isClosed()
           
 void namedArgumentAdded(String name, NamedArguments source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FutureNamedArgument

public FutureNamedArgument(String name,
                           NamedArguments named)
Method Detail

close

public void close()
Specified by:
close in interface Future

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Future

getValue

public Object getValue()
                throws VariableNotFoundException
Specified by:
getValue in interface Future
Throws:
VariableNotFoundException

addModificationAction

public void addModificationAction(EventListener target,
                                  Event event)
Description copied from interface: Future
When the future becomes available, send the event to the element.

Specified by:
addModificationAction in interface Future

namedArgumentAdded

public void namedArgumentAdded(String name,
                               NamedArguments source)
Specified by:
namedArgumentAdded in interface NamedArgumentsListener