C
- the callback typeA
- the primary argument typeSELF
- the self class referenceprotected abstract static class LambdaSafe.LambdaSafeCallback<C,A,SELF extends LambdaSafe.LambdaSafeCallback<C,A,SELF>>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected <R> LambdaSafe.InvocationResult<R> |
invoke(C callbackInstance,
java.util.function.Supplier<R> supplier) |
SELF |
withLogger(java.lang.Class<?> loggerSource)
Use the specified logger source to report any lambda failures.
|
SELF |
withLogger(org.apache.commons.logging.Log logger)
Use the specified logger to report any lambda failures.
|
public SELF withLogger(java.lang.Class<?> loggerSource)
loggerSource
- the logger source to usepublic SELF withLogger(org.apache.commons.logging.Log logger)
logger
- the logger to useprotected final <R> LambdaSafe.InvocationResult<R> invoke(C callbackInstance, java.util.function.Supplier<R> supplier)