spring-framework / org.springframework.aop / MethodBeforeAdvice

MethodBeforeAdvice

interface MethodBeforeAdvice : BeforeAdvice

Advice invoked before a method is invoked. Such advices cannot prevent the method call proceeding, unless they throw a Throwable.

See Also
AfterReturningAdviceThrowsAdvice

Author
Rod Johnson

Functions

before

abstract fun before(method: Method, args: Array<Any>, target: Any): Unit

Callback before a given method is invoked.