spring-framework / org.springframework.aop.framework.adapter / AdvisorAdapter / supportsAdvice

supportsAdvice

abstract fun supportsAdvice(advice: Advice): Boolean

Does this adapter understand this advice object? Is it valid to invoke the getInterceptors method with an Advisor that contains this advice as an argument?

Parameters

advice - an Advice such as a BeforeAdvice

Return
whether this adapter understands the given advice object

See Also
#getInterceptor(org.springframework.aop.Advisor)org.springframework.aop.BeforeAdvice