Package io.micronaut.context
Class AbstractBeanResolutionContext.EventListenerSegment<B,T>
java.lang.Object
io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment<B,T>
io.micronaut.context.AbstractBeanResolutionContext.EventListenerSegment<B,T>
- Type Parameters:
B
- The bean typeT
- The event type
- All Implemented Interfaces:
BeanResolutionContext.Segment<B,
,T> AnnotationMetadataProvider
,AnnotationSource
,Named
,CallableInjectionPoint<B>
,InjectionPoint<B>
- Enclosing class:
- AbstractBeanResolutionContext
public static class AbstractBeanResolutionContext.EventListenerSegment<B,T>
extends AbstractBeanResolutionContext.AbstractSegment<B,T>
implements CallableInjectionPoint<B>
Represents a segment that is an event listener.
-
Field Summary
Fields inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
MEMBER_SEPARATOR
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptionArgument<?>[]
toConsoleString
(boolean ansiSupported) To a console string.Methods inherited from class io.micronaut.context.AbstractBeanResolutionContext.AbstractSegment
equals, getArgument, getDeclaringType, getDeclaringTypeQualifier, getName, getTypeName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
Methods inherited from interface io.micronaut.inject.InjectionPoint
getDeclaringBeanQualifier
-
Method Details
-
toConsoleString
Description copied from interface:BeanResolutionContext.Segment
To a console string.- Specified by:
toConsoleString
in interfaceBeanResolutionContext.Segment<B,
T> - Parameters:
ansiSupported
- Whether ansi is supported- Returns:
- The string
-
getInjectionPoint
- Specified by:
getInjectionPoint
in interfaceBeanResolutionContext.Segment<B,
T> - Returns:
- The inject point
-
getArguments
- Specified by:
getArguments
in interfaceCallableInjectionPoint<B>
- Returns:
- The required argument types.
-
getDeclaringBean
- Specified by:
getDeclaringBean
in interfaceInjectionPoint<B>
- Returns:
- The bean that declares this injection point
-