Annotation Type MessageInterceptor
Annotation to define if a method of an object is called back by an interceptor processor.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines in which communication direction the interceptor method is invoked.intInterceptors are sorted and called in the order given by the sequence number in here.Defines an action filter.
-
Element Details
-
value
String valueDefines an action filter.The annotated method is called only if the action of the SOAP message matches this value. The default value is an empty string that stands for "match any action".
- Returns:
- the action string to match for this interceptor annotation.
- Default:
- ""
-
sequenceNumber
int sequenceNumberInterceptors are sorted and called in the order given by the sequence number in here.Default is Integer.MAX_VALUE (means, the interceptor is put to the end of the chain).
Note that no two interceptors of the same interceptor chain should possess the same sequence number!
- Returns:
- the sequence number.
- Default:
- 2147483647
-
direction
Direction directionDefines in which communication direction the interceptor method is invoked.By default an annotated method is invoked on any direction.
- Returns:
- the direction.
- Default:
- ANY
-