Class InjectableConstructor<T>

    • Field Detail

      • con

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

      • InjectableConstructor

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

      • 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()