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 Details

    • c

      private final Constructor<?> c
    • args

      private final Object[] args
    • neutralCCL

      private final boolean neutralCCL
    • myThis

      private Object myThis
    • index

      private final int index
    • finalAction

      private final ConstructorAction finalAction
    • interceptors

      private final List<org.aopalliance.intercept.ConstructorInterceptor> interceptors
    • userData

      private HashMap<String,Object> userData
  • Constructor Details

  • Method Details

    • getArguments

      public Object[] getArguments()
      Specified by:
      getArguments in interface org.aopalliance.intercept.Invocation
    • getStaticPart

      public AccessibleObject getStaticPart()
      Specified by:
      getStaticPart in interface org.aopalliance.intercept.Joinpoint
    • getThis

      public Object getThis()
      Specified by:
      getThis in interface org.aopalliance.intercept.Joinpoint
    • proceed

      public Object proceed() throws Throwable
      Specified by:
      proceed in interface org.aopalliance.intercept.Joinpoint
      Throws:
      Throwable
    • getConstructor

      public Constructor getConstructor()
      Specified by:
      getConstructor in interface org.aopalliance.intercept.ConstructorInvocation
    • setUserData

      public void setUserData(String key, Object data)
      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 interface HK2Invocation
      Parameters:
      key - a non-null identifier for user data to be associated with the invocation frame
      data - 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

      public Object getUserData(String key)
      Description copied from interface: HK2Invocation
      Gets the user data associated with the given key
      Specified by:
      getUserData in interface HK2Invocation
      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