Interface InstantiationModelAwarePointcutAdvisor

All Superinterfaces:
Advisor, PointcutAdvisor

public interface InstantiationModelAwarePointcutAdvisor extends PointcutAdvisor
Interface to be implemented by Spring AOP Advisors wrapping AspectJ aspects that may have a lazy initialization strategy. For example, a perThis instantiation model would mean lazy initialization of the advice.
Since:
2.0
Author:
Rod Johnson, Juergen Hoeller
  • Field Summary

    Fields inherited from interface org.springframework.aop.Advisor

    EMPTY_ADVICE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return whether this advisor has already instantiated its advice.
    boolean
    Return whether this advisor is lazily initializing its underlying advice.

    Methods inherited from interface org.springframework.aop.Advisor

    getAdvice, isPerInstance

    Methods inherited from interface org.springframework.aop.PointcutAdvisor

    getPointcut
  • Method Details

    • isLazy

      boolean isLazy()
      Return whether this advisor is lazily initializing its underlying advice.
    • isAdviceInstantiated

      boolean isAdviceInstantiated()
      Return whether this advisor has already instantiated its advice.