Class ProxyClassConstructorInjectionPointWrapper<T>

java.lang.Object
org.jboss.weld.injection.ConstructorInjectionPoint<T>
org.jboss.weld.injection.ProxyClassConstructorInjectionPointWrapper<T>
All Implemented Interfaces:
jakarta.enterprise.inject.spi.InjectionPoint, WeldInjectionPointAttributes<T,Constructor<T>>

public class ProxyClassConstructorInjectionPointWrapper<T> extends ConstructorInjectionPoint<T>
A wrapper on a ConstructorInjectionPoint, to be used if a proxy subclass is instantiated instead of the original (e.g. because the original is an abstract Decorator)

This class is immutable.

Author:
Marius Bogoevici, Ales Justin, Jozef Hartinger
  • Field Details

    • hasTransientReferenceParameter

      protected final boolean hasTransientReferenceParameter
  • Constructor Details

  • Method Details

    • getParameterInjectionPoints

      public List<ParameterInjectionPoint<?,T>> getParameterInjectionPoints()
    • newInstance

      protected T newInstance(Object[] parameterValues)
      Overrides:
      newInstance in class ConstructorInjectionPoint<T>
    • getComponentConstructor

      public jakarta.enterprise.inject.spi.AnnotatedConstructor<T> getComponentConstructor()
      Overrides:
      getComponentConstructor in class ConstructorInjectionPoint<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ConstructorInjectionPoint<T>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ConstructorInjectionPoint<T>
    • getType

      public Type getType()
      Specified by:
      getType in interface jakarta.enterprise.inject.spi.InjectionPoint
    • getQualifiers

      public Set<Annotation> getQualifiers()
      Specified by:
      getQualifiers in interface jakarta.enterprise.inject.spi.InjectionPoint
    • getBean

      public jakarta.enterprise.inject.spi.Bean<?> getBean()
      Specified by:
      getBean in interface jakarta.enterprise.inject.spi.InjectionPoint
    • isDelegate

      public boolean isDelegate()
      Specified by:
      isDelegate in interface jakarta.enterprise.inject.spi.InjectionPoint
    • isTransient

      public boolean isTransient()
      Specified by:
      isTransient in interface jakarta.enterprise.inject.spi.InjectionPoint
    • getQualifier

      public <A extends Annotation> A getQualifier(Class<A> annotationType)
      Description copied from interface: WeldInjectionPointAttributes
      Returns an instance of a given qualifier annotation or null if a given qualifier is not present on the injection point.
      Specified by:
      getQualifier in interface WeldInjectionPointAttributes<T,X>
    • getMember

      public Member getMember()
      Specified by:
      getMember in interface jakarta.enterprise.inject.spi.InjectionPoint
    • getInjectionPoints

      public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
      Returns a set of InjectionPoint instances of this constructor/method. This set never contains a SpecialParameterInjectionPoint and is therefore suitable for use outside of Weld. The returned set is immutable.
    • toString

      public String toString()
      Overrides:
      toString in class Object