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
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
    indicating entering a service method
    static final int
    indicating exiting a service method throwing an exception
    static final int
    indicating exiting a service method without throwing an exception
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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.
  • Felddetails

    • ON_ENTRY

      static final int ON_ENTRY
      indicating entering a service method
      Siehe auch:
    • ON_EXIT

      static final int ON_EXIT
      indicating exiting a service method without throwing an exception
      Siehe auch:
    • ON_ERROR

      static final int ON_ERROR
      indicating exiting a service method throwing an exception
      Siehe auch:
  • Methodendetails

    • onEntry

      void onEntry(AvalonInterceptorContext avalonInterceptorContext)
      Called before a service method is invoked.
      Parameter:
      avalonInterceptorContext - shared interceptor context
    • onExit

      void onExit(AvalonInterceptorContext avalonInterceptorContext, Object result)
      Called after a service method was invoked.
      Parameter:
      avalonInterceptorContext - shared interceptor context
      result - the result of the invocation
    • onError

      void onError(AvalonInterceptorContext avalonInterceptorContext, Throwable t)
      Called when a service method throws an exeption
      Parameter:
      avalonInterceptorContext - shared interceptor context
      t - the resulting exception