Package io.micronaut.expressions.context
Interface ExpressionEvaluationContextRegistrar
- All Superinterfaces:
Ordered
,Toggleable
,TypeElementVisitor<AnnotationExpressionContext,
AnnotationExpressionContext>
- All Known Implementing Classes:
ContextRegistrar
public interface ExpressionEvaluationContextRegistrar
extends TypeElementVisitor<AnnotationExpressionContext,AnnotationExpressionContext>
Custom type that simplifies registering a new context class.
A META-INF/services/io.micronaut.inject.visitor.TypeElementVisitor
should be created for any new implementations.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
TypeElementVisitor.VisitorKind
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
start
(VisitorContext visitorContext) Called once when visitor processing starts.Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, visitClass, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Method Details
-
start
Description copied from interface:TypeElementVisitor
Called once when visitor processing starts.- Specified by:
start
in interfaceTypeElementVisitor<AnnotationExpressionContext,
AnnotationExpressionContext> - Parameters:
visitorContext
- The visitor context
-
getContextClassName
String getContextClassName() -
getVisitorKind
- Specified by:
getVisitorKind
in interfaceTypeElementVisitor<AnnotationExpressionContext,
AnnotationExpressionContext> - Returns:
- The visitor kind.
-