Class ConstructorInterceptorHandler.ConstructorInvocationImpl
java.lang.Object
org.jvnet.hk2.internal.ConstructorInterceptorHandler.ConstructorInvocationImpl
- All Implemented Interfaces:
org.aopalliance.intercept.ConstructorInvocation, org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, HK2Invocation
- Enclosing class:
ConstructorInterceptorHandler
private static class ConstructorInterceptorHandler.ConstructorInvocationImpl
extends Object
implements org.aopalliance.intercept.ConstructorInvocation, HK2Invocation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Object[]private final Constructor<?> private final ConstructorActionprivate final intprivate final List<org.aopalliance.intercept.ConstructorInterceptor> private Objectprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateConstructorInvocationImpl(Constructor<?> c, Object[] args, boolean neutralCCL, ConstructorAction finalAction, int index, List<org.aopalliance.intercept.ConstructorInterceptor> interceptors, HashMap<String, Object> userData) -
Method Summary
Modifier and TypeMethodDescriptionObject[]getThis()getUserData(String key) Gets the user data associated with the given keyproceed()voidsetUserData(String key, Object data) Sets the user data to be associated with the invocation frame.
-
Field Details
-
c
-
args
-
neutralCCL
private final boolean neutralCCL -
myThis
-
index
private final int index -
finalAction
-
interceptors
-
userData
-
-
Constructor Details
-
ConstructorInvocationImpl
private ConstructorInvocationImpl(Constructor<?> c, Object[] args, boolean neutralCCL, ConstructorAction finalAction, int index, List<org.aopalliance.intercept.ConstructorInterceptor> interceptors, HashMap<String, Object> userData)
-
-
Method Details
-
getArguments
- Specified by:
getArgumentsin interfaceorg.aopalliance.intercept.Invocation
-
getStaticPart
- Specified by:
getStaticPartin interfaceorg.aopalliance.intercept.Joinpoint
-
getThis
- Specified by:
getThisin interfaceorg.aopalliance.intercept.Joinpoint
-
proceed
-
getConstructor
- Specified by:
getConstructorin interfaceorg.aopalliance.intercept.ConstructorInvocation
-
setUserData
Description copied from interface:HK2InvocationSets 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:
setUserDatain 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:HK2InvocationGets the user data associated with the given key- Specified by:
getUserDatain 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
-