Class InjectableConstructor<T>

java.lang.Object
org.apache.webbeans.inject.AbstractInjectable<T>
org.apache.webbeans.inject.InjectableConstructor<T>
Direct Known Subclasses:
AbstractDecoratorInjectionTarget.AbstractDecoratorInjectableConstructor

public class InjectableConstructor<T> extends AbstractInjectable<T>
Injects the parameters of the ManagedBean constructor and returns the created instance.
Since:
1.0
Author:
Gurkan Erdogdu
See Also:
  • Field Details

    • con

      protected Constructor<T> con
      Injectable constructor instance
  • Constructor Details

    • InjectableConstructor

      public InjectableConstructor(Constructor<T> cons, jakarta.enterprise.inject.spi.InjectionTarget<T> owner, CreationalContextImpl<T> creationalContext)
      Sets the constructor.
      Parameters:
      cons - injectable constructor
  • Method Details

    • doInjection

      public T doInjection()
      Creates the instance from the constructor. Each constructor parameter instance is resolved using the resolution algorithm.
    • getInstance

      public T getInstance()
    • createParameters

      public Object[] createParameters()