Package ca.uhn.fhir.interceptor.api
Annotation Type Hook
This annotation should be placed on interceptor methods. The
value=Pointcut
property determines which event
is actually being invoked. See the Pointcut JavaDoc for information
on available method parameters for a given hook.- See Also:
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
The order that interceptors should be called in.
-
Element Details
-
value
Provides the specific point where this method should be invoked -
order
int orderThe order that interceptors should be called in. Lower numbers happen before higher numbers. Default is 0 and allowable values can be positive or negative or 0.If no order is specified, or the order is set to
0
(the default order), the order specified at theinterceptor type level
will be used.Note that if two hook methods have the same order, then the order of execution is undefined. If order is important, then an order must always be explicitly stated.
- Default:
0
-