- Enclosing interface:
- 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 ResolveParameterHook.ParameterSupplier
A functional interface specialized on providing parameters to property methods and to annotated lifecycle methods.
getSupply the requested parameter. For the same
optionalTrythe same object must be returned if this object has state that could change its behaviour.
optionalTry- Contains a TryLifecycleContext instance if used to supply a property method's parameter. Otherwise it's empty.
- the freshly generated object or one stored for the same context