@Override
    protected InjectionTarget<T> getInjectionTarget(boolean nonContextual) {

        InjectionTarget<T> injectionTarget = null;

        Class<T> clazz = getManagedObjectClass();

        WebSphereBeanDeploymentArchive bda = getCurrentBeanDeploymentArchive();
        if (bda != null) {
            injectionTarget = bda.getJEEComponentInjectionTarget(clazz);
        }

        if (injectionTarget == null) {
            AnnotatedType<T> annotatedType = getAnnotatedType(clazz, nonContextual);
            WeldInjectionTargetFactory<T> weldInjectionTargetFactory = getBeanManager().getInjectionTargetFactory(annotatedType);
            injectionTarget = weldInjectionTargetFactory.createInterceptorInjectionTarget();

            if (bda != null) {
                bda.addJEEComponentInjectionTarget(clazz, injectionTarget);
            }
        }

        return injectionTarget;
    }
@ Override protected InjectionTarget < T > getInjectionTarget ( boolean nonContextual ) { InjectionTarget < T > injectionTarget = null ; Class < T > clazz = getManagedObjectClass ( ) ; WebSphereBeanDeploymentArchive bda = getCurrentBeanDeploymentArchive ( ) ; if ( bda != null ) { injectionTarget = bda . getJEEComponentInjectionTarget ( clazz ) ; } if ( injectionTarget == null ) { AnnotatedType < T > annotatedType = getAnnotatedType ( clazz , nonContextual ) ; WeldInjectionTargetFactory < T > weldInjectionTargetFactory = getBeanManager ( ) . getInjectionTargetFactory ( annotatedType ) ; injectionTarget = weldInjectionTargetFactory . createInterceptorInjectionTarget ( ) ; if ( bda != null ) { bda . addJEEComponentInjectionTarget ( clazz , injectionTarget ) ; } } return injectionTarget ; }
{@inheritDoc} We need to override this so that a special interceptor instance was created instead of the common proxied one