Annotation MessageInterceptor
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Target(value = METHOD)@Retention(value = RUNTIME) public @interface MessageInterceptor
Annotation to define if a method of an object is called back by an interceptor processor.
-
-
Method Summary
Modifier and Type Method Description abstract Stringvalue()Defines an action filter. abstract intsequenceNumber()Interceptors are sorted and called in the order given by the sequence number in here. abstract Directiondirection()Defines in which communication direction the interceptor method is invoked. -
-
Method Detail
-
value
abstract String value()
Defines 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.
-
sequenceNumber
abstract int sequenceNumber()
Interceptors are sorted and called in the order given by the sequence number in here.
Default is 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.
-
-
-
-