Package io.micronaut.inject
Interface AdvisedBeanType<T>
- Type Parameters:
T
- The bean type of the aspect
- All Superinterfaces:
AnnotationMetadataProvider
,AnnotationSource
,ArgumentCoercible<T>
,BeanContextConditional
,BeanInfo<T>
,BeanType<T>
A marker interface for all
BeanDefinitionReference
and BeanDefinition
instances to implement that provides access to the target bean type for an AOP advice bean.- Since:
- 2.2.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the target type for AOP advice.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.BeanContextConditional
isEnabled, isEnabled
Methods inherited from interface io.micronaut.core.beans.BeanInfo
asArgument, getGenericBeanType
Methods inherited from interface io.micronaut.inject.BeanType
getBeanName, getBeanType, getExposedTypes, getName, isCandidateBean, isContainerType, isPrimary, requiresMethodProcessing
-
Method Details
-
getInterceptedType
Returns the target type for AOP advice. In the case of Introduction advice, this is the interface the advice is declared on. In this case of Around advice this the class the advice is declared on.- Returns:
- The target type
-