org.apache.tapestry5.ioc
Interface Invokable<T>

Type Parameters:
T - the return value type
All Known Implementing Classes:
ConstructorInvoker, LoggingInvokableWrapper, MethodInvoker

public interface Invokable<T>

Similiar to Runnable execept that it returns a value. Used to represent any operation which can return a value. This is often used in situations where the code is to be executed in another threads.

See Also:
OperationTracker.invoke(String, Invokable), ParallelExecutor.invoke(Invokable)

Method Summary
 T invoke()
          Called to produce a value.
 

Method Detail

invoke

T invoke()
Called to produce a value.



Copyright © 2003-2012 The Apache Software Foundation.