LibraryLink ToToggle FramesPrintFeedback

Using Java Annotations

FUSE Services Framework provides four Java annotations that allow a developer to specify the interceptor chains used by an endpoint. Unlike the other means of attaching interceptors to endpoints, the annotations are attached to application-level artifacts. The artifact that is used determines the scope of the annotation's effect.

The annotations can be placed on the following artifacts:

The annotations are all in the org.apache.cxf.interceptor package and are described in Table 5.2.


The list of interceptors is specified as a list of fully qualified class names using the syntax shown in Example 5.7.


Example 5.8 shows annotations that attach two interceptors to the inbound interceptor chain of endpoints that use the logic provided by SayHiImpl.