|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AvalonInterceptorService
Defining the common interface of all interceptors.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final int ON_ENTRY
static final int ON_EXIT
static final int ON_ERROR
Method Detail |
---|
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 exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |