| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Spring implementation of AOP Alliance MethodInvocation interface. Invokes target using reflection. Subclasses can override the invokeJoinpoint() method to change this behaviour, so this is a useful base class for MethodInvocation implementations.
| Constructor Summary | |
ReflectiveMethodInvocation(Object proxy, Object target, Class targetInterface, Method m, Object[] arguments, Class targetClass, List interceptorsAndDynamicMethodMatchers)Construct a new MethodInvocation with given arguments | |
| Method Summary | |
Object | addAttachment(String key, Object resource) |
Invocation | cloneInstance() |
Object | getArgument(int i) |
int | getArgumentCount() |
final Object[] | getArguments()Private optimization method |
Object | getAttachment(String key) |
AttributeRegistry | getAttributeRegistry() |
final Method | getMethod()Return the method invoked on the proxied interface. |
final Object | getProxy()Return the proxy that this interception was made through |
final AccessibleObject | getStaticPart() |
final Class | getTargetInterface() |
final Object | getThis() |
Object | proceed() |
void | setArgument(int index, Object argument) |
String | toString() |
| Constructor Detail |
public ReflectiveMethodInvocation(Object proxy, Object target, Class targetInterface, Method m, Object[] arguments, Class targetClass, List interceptorsAndDynamicMethodMatchers)
| Method Detail |
public Object addAttachment(String key, Object resource)
public Invocation cloneInstance()
public Object getArgument(int i)
public int getArgumentCount()
public final Object[] getArguments()
public Object getAttachment(String key)
public AttributeRegistry getAttributeRegistry()
public final Method getMethod()
public final Object getProxy()
public final AccessibleObject getStaticPart()
public final Class getTargetInterface()
public final Object getThis()
public Object proceed()
throws java.lang.Throwable
public void setArgument(int index, Object argument)
public String toString()
| Association Links |
to Class java.lang.reflect.Method
to Class java.util.List
to Class java.util.HashMap
to Class java.lang.Class
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||