Interface AdvisedBeanType<T>

Type Parameters:
T - The bean type of the aspect
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.type.ArgumentCoercible<T>, BeanContextConditional, io.micronaut.core.beans.BeanInfo<T>, BeanType<T>

public interface AdvisedBeanType<T> extends 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
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? super T>
    Returns 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
  • Method Details

    • getInterceptedType

      Class<? super T> 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