Specifies that a method must be used as a filter on a service.
This annotation must be used in conjunction with
ServiceDefinition.
The annotated method must follow the following rules:
- Filter method only applies to methods of a service
- Filter method does not apply to static methods
- Filter method must have no-args
- Filter method must return boolean
- Filter method must not throw checked exceptions
- Author:
- Philippe Charles
-
Optional Element Summary
Optional Elements
-
Element Details
-
negate
boolean negateApplies a logical negation.- Returns:
- true if negation is required, false otherwise
- Default:
false
-
position
int positionSets the filter ordering in case of multiple filters.- Returns:
- an ordering
- Default:
2147483647
-