spring-framework / org.springframework.aop.aspectj / InstantiationModelAwarePointcutAdvisor

InstantiationModelAwarePointcutAdvisor

interface InstantiationModelAwarePointcutAdvisor : 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.

Author
Rod Johnson

Author
Juergen Hoeller

Since
2.0

Functions

isAdviceInstantiated

abstract fun isAdviceInstantiated(): Boolean

Return whether this advisor has already instantiated its advice.

isLazy

abstract fun isLazy(): Boolean

Return whether this advisor is lazily initializing its underlying advice.