Interceptors can be attached to endpoints programmatically using either one of two approaches:
the InterceptorProvider API
Java annotations
Using the InterceptorProvider API allows the developer to attach
interceptors to any of the runtime components that have interceptor chains, but it requires working with the underlying
FUSE Services Framework classes. The Java annotations can only be added to service interfaces or service implementations, but they allow
developers to stay within the JAX-WS API or the JAX-RS API.