Interface AdvisedBeanType<T>

Type Parameters:
T - The bean type of the aspect
All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, ArgumentCoercible<T>, BeanContextConditional, 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
Author:
graemerocher
  • 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