Package org.apache.webbeans.inject
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 theManagedBean
constructor and returns the created instance.- Since:
- 1.0
- Author:
- Gurkan Erdogdu
- See Also:
AbstractInjectable
-
-
Field Summary
Fields Modifier and Type Field Description protected Constructor<T>
con
Injectable constructor instance-
Fields inherited from class org.apache.webbeans.inject.AbstractInjectable
creationalContext, owner, transientCreationalContext
-
-
Constructor Summary
Constructors Constructor Description InjectableConstructor(Constructor<T> cons, jakarta.enterprise.inject.spi.InjectionTarget<T> owner, CreationalContextImpl<T> creationalContext)
Sets the constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
createParameters()
T
doInjection()
Creates the instance from the constructor.T
getInstance()
-
Methods inherited from class org.apache.webbeans.inject.AbstractInjectable
createInjectionPoints, getBean, getInjectionPoints, getWebBeansContext, inject
-
-
-
-
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
-
-