Package org.omnifaces.util
Interface Callback.SerializableReturning<R>
-
- Type Parameters:
R
- The return type.
- All Superinterfaces:
Serializable
- Enclosing class:
- Callback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Callback.SerializableReturning<R> extends Serializable
Use this if you need a serializable callback which returns a value.- Since:
- 2.1
- Author:
- Bauke Scholtz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
invoke()
This method should be invoked by the method where you're passing this callback instance to.
-
-
-
Method Detail
-
invoke
R invoke()
This method should be invoked by the method where you're passing this callback instance to.- Returns:
- The callback result.
-
-