Package org.jgrapes.core.annotation
Annotation Interface HandlerDefinition
This annotation tags some other annotation as a handler annotation.
The tagged annotation can then be used to mark a method as a handler.
Every handler definition annotation must provide an HandlerDefinition.Evaluator
to allow access to the properties of the handler annotation in a
uniform way.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents channel (criteria) replacements that are to be applied tochannels
elements ofHandler
annotations.static interface
This interface allows access to the properties defined by arbitrary handler annotations in a uniform way. -
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends HandlerDefinition.Evaluator> Returns the evaluator for the annotated handler annotation.
-
Element Details
-
evaluator
Class<? extends HandlerDefinition.Evaluator> evaluatorReturns the evaluator for the annotated handler annotation.- Returns:
- the evaluator
-