protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = ImmutableSet.copyOf(injectionPoints); checkDelegateInjectionPoints(); }
protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = WeldCollections.immutableSetView(injectionPoints); checkDelegateInjectionPoints(); }
protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = ImmutableSet.copyOf(injectionPoints); checkDelegateInjectionPoints(); }
protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = ImmutableSet.copyOf(injectionPoints); checkDelegateInjectionPoints(); }
protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = ImmutableSet.copyOf(injectionPoints); checkDelegateInjectionPoints(); }
protected BasicInjectionTarget(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager, Injector<T> injector, LifecycleCallbackInvoker<T> invoker, Instantiator<T> instantiator) { this.beanManager = beanManager; this.type = type.slim(); this.injector = injector; this.invoker = invoker; final Set<InjectionPoint> injectionPoints = new HashSet<InjectionPoint>(); checkType(type); this.injector.registerInjectionPoints(injectionPoints); if (instantiator != null) { this.instantiator = instantiator; } else { this.instantiator = initInstantiator(type, bean, beanManager, injectionPoints); } this.injectionPoints = ImmutableSet.copyOf(injectionPoints); checkDelegateInjectionPoints(); }