public class

AspectJMethodBeforeAdvice

extends AbstractAspectJAdvice
implements MethodBeforeAdvice
java.lang.Object
   ↳ org.springframework.aop.aspectj.AbstractAspectJAdvice
     ↳ org.springframework.aop.aspectj.AspectJMethodBeforeAdvice

Class Overview

Spring AOP advice that wraps an AspectJ before method.

Summary

[Expand]
Inherited Constants
From interface org.springframework.core.Ordered
[Expand]
Inherited Fields
From class org.springframework.aop.aspectj.AbstractAspectJAdvice
Public Constructors
AspectJMethodBeforeAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
Public Methods
void before(Method method, Object[] args, Object target)
Callback before a given method is invoked.
boolean isAfterAdvice()
boolean isBeforeAdvice()
[Expand]
Inherited Methods
From class org.springframework.aop.aspectj.AbstractAspectJAdvice
From class java.lang.Object
From interface org.springframework.aop.MethodBeforeAdvice
From interface org.springframework.aop.aspectj.AspectJPrecedenceInformation
From interface org.springframework.core.Ordered

Public Constructors

public AspectJMethodBeforeAdvice (Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)

Public Methods

public void before (Method method, Object[] args, Object target)

Callback before a given method is invoked.

Parameters
method method being invoked
args arguments to the method
target target of the method invocation. May be null.
Throws
Throwable

public boolean isAfterAdvice ()

public boolean isBeforeAdvice ()