Uses of Interface
org.aopalliance.intercept.MethodInvocation
Package
Description
The AOP Alliance reflective interception abstraction.
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
AspectJ integration package.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
SPI package allowing Spring AOP framework to handle arbitrary advice types.
Provides miscellaneous interceptor implementations.
Convenience classes for using Spring's AOP API.
-
Uses of MethodInvocation in org.aopalliance.intercept
Modifier and TypeMethodDescriptionMethodInterceptor.invoke
(MethodInvocation invocation) Implement this method to perform extra treatments before and after the invocation. -
Uses of MethodInvocation in org.springframework.aop
Modifier and TypeInterfaceDescriptioninterface
Extension of the AOP AllianceMethodInvocation
interface, allowing access to the proxy that the method invocation was made through.Modifier and TypeMethodDescriptionProxyMethodInvocation.invocableClone()
Create a clone of this object.ProxyMethodInvocation.invocableClone
(Object... arguments) Create a clone of this object. -
Uses of MethodInvocation in org.springframework.aop.aspectj
Modifier and TypeMethodDescriptionAspectJAfterAdvice.invoke
(MethodInvocation mi) AspectJAfterThrowingAdvice.invoke
(MethodInvocation mi) AspectJAroundAdvice.invoke
(MethodInvocation mi) -
Uses of MethodInvocation in org.springframework.aop.framework
Modifier and TypeClassDescriptionclass
Spring's implementation of the AOP AllianceMethodInvocation
interface, implementing the extendedProxyMethodInvocation
interface.Modifier and TypeMethodDescriptionReflectiveMethodInvocation.invocableClone()
This implementation returns a shallow copy of this invocation object, including an independent copy of the original arguments array.ReflectiveMethodInvocation.invocableClone
(Object... arguments) This implementation returns a shallow copy of this invocation object, using the given arguments array for the clone. -
Uses of MethodInvocation in org.springframework.aop.framework.adapter
Modifier and TypeMethodDescriptionAfterReturningAdviceInterceptor.invoke
(MethodInvocation mi) MethodBeforeAdviceInterceptor.invoke
(MethodInvocation mi) ThrowsAdviceInterceptor.invoke
(MethodInvocation mi) -
Uses of MethodInvocation in org.springframework.aop.interceptor
Modifier and TypeMethodDescriptionstatic MethodInvocation
ExposeInvocationInterceptor.currentInvocation()
Return the AOP Alliance MethodInvocation object associated with the current invocation.Modifier and TypeMethodDescriptionprotected String
AbstractMonitoringInterceptor.createInvocationTraceName
(MethodInvocation invocation) Create aString
name for the givenMethodInvocation
that can be used for trace/logging purposes.static String
ExposeBeanNameAdvisors.getBeanName
(MethodInvocation mi) Find the bean name for the given invocation.protected String
DebugInterceptor.getInvocationDescription
(MethodInvocation invocation) protected String
SimpleTraceInterceptor.getInvocationDescription
(MethodInvocation invocation) Return a description for the given method invocation.protected org.apache.commons.logging.Log
AbstractTraceInterceptor.getLoggerForInvocation
(MethodInvocation invocation) Return the appropriateLog
instance to use for the givenMethodInvocation
.AbstractTraceInterceptor.invoke
(MethodInvocation invocation) Determines whether logging is enabled for the particularMethodInvocation
.AsyncExecutionInterceptor.invoke
(MethodInvocation invocation) Intercept the given method invocation, submit the actual calling of the method to the correct task executor and return immediately to the caller.ConcurrencyThrottleInterceptor.invoke
(MethodInvocation methodInvocation) DebugInterceptor.invoke
(MethodInvocation invocation) ExposeInvocationInterceptor.invoke
(MethodInvocation mi) protected abstract Object
AbstractTraceInterceptor.invokeUnderTrace
(MethodInvocation invocation, org.apache.commons.logging.Log logger) Subclasses must override this method to perform any tracing around the suppliedMethodInvocation
.protected Object
CustomizableTraceInterceptor.invokeUnderTrace
(MethodInvocation invocation, org.apache.commons.logging.Log logger) Writes a log message before the invocation based on the value ofenterMessage
.protected Object
PerformanceMonitorInterceptor.invokeUnderTrace
(MethodInvocation invocation, org.apache.commons.logging.Log logger) protected Object
SimpleTraceInterceptor.invokeUnderTrace
(MethodInvocation invocation, org.apache.commons.logging.Log logger) protected boolean
AbstractTraceInterceptor.isInterceptorEnabled
(MethodInvocation invocation, org.apache.commons.logging.Log logger) Determine whether the interceptor should kick in, that is, whether theinvokeUnderTrace
method should be called.protected String
CustomizableTraceInterceptor.replacePlaceholders
(String message, MethodInvocation methodInvocation, Object returnValue, Throwable throwable, long invocationTime) Replace the placeholders in the given message with the supplied values, or values derived from those supplied. -
Uses of MethodInvocation in org.springframework.aop.support
Modifier and TypeMethodDescriptionprotected Object
DelegatePerTargetObjectIntroductionInterceptor.doProceed
(MethodInvocation mi) Proceed with the suppliedMethodInterceptor
.protected Object
DelegatingIntroductionInterceptor.doProceed
(MethodInvocation mi) Proceed with the suppliedMethodInterceptor
.DelegatePerTargetObjectIntroductionInterceptor.invoke
(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.DelegatingIntroductionInterceptor.invoke
(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.protected final boolean
IntroductionInfoSupport.isMethodOnIntroducedInterface
(MethodInvocation mi) Is this method on an introduced interface?