Schnittstelle AvalonInterceptorService
- Alle bekannten Unterschnittstellen:
JamonInterceptorService
,JavaSimonInterceptorService
,LoggingInterceptorService
,PerformanceInterceptorService
- Alle bekannten Implementierungsklassen:
BaseInterceptorServiceImpl
,JamonInterceptorServiceImpl
,JavaSimonInterceptorServiceImpl
,LoggingInterceptorServiceImpl
,PerformanceInterceptorServiceImpl
public interface AvalonInterceptorService
Defining the common interface of all interceptors.
- Autor:
- Siegfried Goeschl
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onEntry
(AvalonInterceptorContext avalonInterceptorContext) Called before a service method is invoked.void
onError
(AvalonInterceptorContext avalonInterceptorContext, Throwable t) Called when a service method throws an exeptionvoid
onExit
(AvalonInterceptorContext avalonInterceptorContext, Object result) Called after a service method was invoked.
-
Felddetails
-
ON_ENTRY
static final int ON_ENTRYindicating entering a service method- Siehe auch:
-
ON_EXIT
static final int ON_EXITindicating exiting a service method without throwing an exception- Siehe auch:
-
ON_ERROR
static final int ON_ERRORindicating exiting a service method throwing an exception- Siehe auch:
-
-
Methodendetails
-
onEntry
Called before a service method is invoked.- Parameter:
avalonInterceptorContext
- shared interceptor context
-
onExit
Called after a service method was invoked.- Parameter:
avalonInterceptorContext
- shared interceptor contextresult
- the result of the invocation
-
onError
Called when a service method throws an exeption- Parameter:
avalonInterceptorContext
- shared interceptor contextt
- the resulting exception
-