private class MethodInterceptorHandler.MethodInvocationImpl extends java.lang.Object implements org.aopalliance.intercept.MethodInvocation, HK2Invocation
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object[] |
arguments |
private int |
index |
private java.util.List<org.aopalliance.intercept.MethodInterceptor> |
interceptors |
private java.lang.reflect.Method |
method |
private java.lang.Object |
myself |
private java.lang.reflect.Method |
proceed |
private java.util.HashMap<java.lang.String,java.lang.Object> |
userData |
| Modifier | Constructor and Description |
|---|---|
private |
MethodInvocationImpl(java.lang.Object[] arguments,
java.lang.reflect.Method method,
java.lang.Object myself,
java.util.List<org.aopalliance.intercept.MethodInterceptor> interceptors,
int index,
java.lang.reflect.Method proceed,
java.util.HashMap<java.lang.String,java.lang.Object> userData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArguments() |
java.lang.reflect.Method |
getMethod() |
java.lang.reflect.AccessibleObject |
getStaticPart() |
java.lang.Object |
getThis() |
java.lang.Object |
getUserData(java.lang.String key)
Gets the user data associated with the given key
|
java.lang.Object |
proceed() |
void |
setUserData(java.lang.String key,
java.lang.Object data)
Sets the user data to be associated with the invocation
frame.
|
private final java.lang.Object[] arguments
private final java.lang.reflect.Method method
private final java.lang.Object myself
private final java.util.List<org.aopalliance.intercept.MethodInterceptor> interceptors
private final int index
private final java.lang.reflect.Method proceed
private java.util.HashMap<java.lang.String,java.lang.Object> userData
private MethodInvocationImpl(java.lang.Object[] arguments,
java.lang.reflect.Method method,
java.lang.Object myself,
java.util.List<org.aopalliance.intercept.MethodInterceptor> interceptors,
int index,
java.lang.reflect.Method proceed,
java.util.HashMap<java.lang.String,java.lang.Object> userData)
public java.lang.Object[] getArguments()
getArguments in interface org.aopalliance.intercept.Invocationpublic java.lang.reflect.AccessibleObject getStaticPart()
getStaticPart in interface org.aopalliance.intercept.Joinpointpublic java.lang.Object getThis()
getThis in interface org.aopalliance.intercept.Joinpointpublic java.lang.reflect.Method getMethod()
getMethod in interface org.aopalliance.intercept.MethodInvocationpublic java.lang.Object proceed()
throws java.lang.Throwable
proceed in interface org.aopalliance.intercept.Joinpointjava.lang.Throwablepublic void setUserData(java.lang.String key,
java.lang.Object data)
HK2InvocationsetUserData in interface HK2Invocationkey - a non-null identifier for user data to be
associated with the invocation framedata - possibly null data. If non-null it
will replace any value previously associated with
the key. If null it will remove the key from the
mappublic java.lang.Object getUserData(java.lang.String key)
HK2InvocationgetUserData in interface HK2Invocationkey - The key for which to get data. May
not be null