| org.springframework.aop.MethodBeforeAdvice
All known Subclasses: org.springframework.aop.aspectj.AspectJMethodBeforeAdvice,
MethodBeforeAdvice | public interface MethodBeforeAdvice extends BeforeAdvice(Code) | | Advice invoked before a method is invoked. Such advices cannot
prevent the method call proceeding, unless they throw a Throwable.
See Also: AfterReturningAdvice See Also: ThrowsAdvice author: Rod Johnson |
Method Summary | |
void | before(Method method, Object[] args, Object target) Callback before a given method is invoked.
Parameters: method - method being invoked Parameters: args - arguments to the method Parameters: target - target of the method invocation. |
before | void before(Method method, Object[] args, Object target) throws Throwable(Code) | | Callback before a given method is invoked.
Parameters: method - method being invoked Parameters: args - arguments to the method Parameters: target - target of the method invocation. May be null . throws: Throwable - if this object wishes to abort the call.Any exception thrown will be returned to the caller if it'sallowed by the method signature. Otherwise the exceptionwill be wrapped as a runtime exception. |
|
|