Interface AdvisedBeanType<T>

  • Type Parameters:
    T - The bean type of the aspect
    All Superinterfaces:
    io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, BeanContextConditional, 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<? super T> getInterceptedType()
      Returns the target type for AOP advice.
      • Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

        findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, 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
    • Method Detail

      • getInterceptedType

        java.lang.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