MethodBeforeAdvice.
Used internally by the AOP framework; application developers should not need to use this class directly.
AfterReturningAdviceInterceptor, ThrowsAdviceInterceptor
| Modifier and Type | Field and Description |
|---|---|
| private final MethodBeforeAdvice |
| Access | Constructor and Description |
|---|---|
| public | MethodBeforeAdviceInterceptor(MethodBeforeAdvice
the MethodBeforeAdvice to wrap advice)Create a new MethodBeforeAdviceInterceptor for the given advice. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(MethodInvocation
the method invocation joinpoint mi)Implements org. Implement this method to perform extra treatments before and after the invocation. |
| advice | back to summary |
|---|---|
| private final MethodBeforeAdvice advice | |
| MethodBeforeAdviceInterceptor | back to summary |
|---|---|
| public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice) Create a new MethodBeforeAdviceInterceptor for the given advice.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(MethodInvocation mi) throws Throwable Implements org. Doc from org. Implement this method to perform extra treatments before and
after the invocation. Polite implementations would certainly
like to invoke
| |