Interface Interceptor

All Known Subinterfaces:
EventSource, HostingService, WsDiscoveryClient, WsDiscoveryTargetService
All Known Implementing Classes:
EventSourceInterceptor, HostedServiceInterceptor, HostingServiceInterceptor, WebService, WsAddressingClientInterceptor, WsAddressingServerInterceptor, WsDiscoveryClientInterceptor, WsDiscoveryTargetServiceInterceptor

public interface Interceptor
Interface to designate interceptors.

Invoked methods are identified by using the MessageInterceptor annotation. An interceptor method accepts one parameter of a certain type depending on the message exchange pattern and message direction:

An interceptor may throw RuntimeException which are then wrapped as InterceptorException and presented to the user. In order to trace the interceptor exceptions, interceptors should provide a meaningful toString() override.

See Also: