public interface AvalonInterceptorService
Modifier and Type | Field and Description |
---|---|
static int |
ON_ENTRY
indicating entering a service method
|
static int |
ON_ERROR
indicating exiting a service method throwing an exception
|
static int |
ON_EXIT
indicating exiting a service method without throwing an exception
|
Modifier and Type | Method and Description |
---|---|
void |
onEntry(AvalonInterceptorContext avalonInterceptorContext)
Called before a service method is invoked.
|
void |
onError(AvalonInterceptorContext avalonInterceptorContext,
Throwable t)
Called when a service method throws an exeption
|
void |
onExit(AvalonInterceptorContext avalonInterceptorContext,
Object result)
Called after a service method was invoked.
|
static final int ON_ENTRY
static final int ON_EXIT
static final int ON_ERROR
void onEntry(AvalonInterceptorContext avalonInterceptorContext)
avalonInterceptorContext
- shared interceptor contextvoid onExit(AvalonInterceptorContext avalonInterceptorContext, Object result)
avalonInterceptorContext
- shared interceptor contextresult
- the result of the invocationvoid onError(AvalonInterceptorContext avalonInterceptorContext, Throwable t)
avalonInterceptorContext
- shared interceptor contextt
- the resulting exceptionCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.