Package org.jvnet.hk2.internal
Class MethodInterceptorHandler.MethodInvocationImpl
java.lang.Object
org.jvnet.hk2.internal.MethodInterceptorHandler.MethodInvocationImpl
- All Implemented Interfaces:
org.aopalliance.intercept.Invocation
,org.aopalliance.intercept.Joinpoint
,org.aopalliance.intercept.MethodInvocation
,HK2Invocation
- Enclosing class:
MethodInterceptorHandler
private class MethodInterceptorHandler.MethodInvocationImpl
extends Object
implements org.aopalliance.intercept.MethodInvocation, HK2Invocation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
getThis()
getUserData
(String key) Gets the user data associated with the given keyproceed()
void
setUserData
(String key, Object data) Sets the user data to be associated with the invocation frame.
-
Field Details
-
arguments
-
method
-
myself
-
interceptors
-
index
private final int index -
proceed
-
userData
-
-
Constructor Details
-
MethodInvocationImpl
-
-
Method Details
-
getArguments
- Specified by:
getArguments
in interfaceorg.aopalliance.intercept.Invocation
-
getStaticPart
- Specified by:
getStaticPart
in interfaceorg.aopalliance.intercept.Joinpoint
-
getThis
- Specified by:
getThis
in interfaceorg.aopalliance.intercept.Joinpoint
-
getMethod
- Specified by:
getMethod
in interfaceorg.aopalliance.intercept.MethodInvocation
-
proceed
- Specified by:
proceed
in interfaceorg.aopalliance.intercept.Joinpoint
- Throws:
Throwable
-
setUserData
Description copied from interface:HK2Invocation
Sets the user data to be associated with the invocation frame. The key may not be null. If data is null then the data associated with the key is removed- Specified by:
setUserData
in interfaceHK2Invocation
- Parameters:
key
- 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 map
-
getUserData
Description copied from interface:HK2Invocation
Gets the user data associated with the given key- Specified by:
getUserData
in interfaceHK2Invocation
- Parameters:
key
- The key for which to get data. May not be null- Returns:
- The user data previously associated with this key, or null if there was no user data associated with this key
-