Package ch.tocco.nice2.dms.api.uri
Class UriConversionEntityInterceptorContext.Invoker
java.lang.Object
ch.tocco.nice2.util.invokables.AbstractInvoker<Void>
ch.tocco.nice2.dms.api.uri.UriConversionEntityInterceptorContext.Invoker
- All Implemented Interfaces:
Invoker
- Enclosing class:
UriConversionEntityInterceptorContext
-
Constructor Details
-
Invoker
public Invoker(boolean disabled)
-
-
Method Details
-
preInvoke
Description copied from class:AbstractInvoker
Called before the given invokable is invoked.- Specified by:
preInvoke
in classAbstractInvoker<Void>
- Returns:
- An optional state which will be passed to
postInvoke()
.
-
postInvoke
Description copied from class:AbstractInvoker
Called after the given invokable has been invoked. This will be called in a finally block regardless of whether the invokable throw an exception or not. If the invokable threw an exception and this method throws again, the exception thrown will be added as suppressed exception to the exception originally thrown by the invokable.- Specified by:
postInvoke
in classAbstractInvoker<Void>
- Parameters:
state
- The state as returned previously byAbstractInvoker.preInvoke()
.result
- The return value of the invokable or `null`.thrown
- The exception thrown by the invokable or `null`.- See Also:
-