Package org.apache.tapestry5.ioc
Interface Invokable<T>
-
- Type Parameters:
T
- the return value type
- All Known Implementing Classes:
ConstructorInvoker
,EntityTransactionManager.VoidInvokable
,LoggingInvokableWrapper
,MethodInvoker
public interface Invokable<T>
Similar toRunnable
except 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
invoke()
Called to produce a value.
-