org.apache.webbeans.inject
Class InjectableConstructor<T>
java.lang.Object
org.apache.webbeans.inject.AbstractInjectable<T>
org.apache.webbeans.inject.InjectableConstructor<T>
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:
AbstractInjectable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
con
protected Constructor<T> con
- Injectable constructor instance
InjectableConstructor
public InjectableConstructor(Constructor<T> cons,
InjectionTarget<T> owner,
CreationalContextImpl<T> creationalContext)
- Sets the constructor.
- Parameters:
cons - injectable constructor
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()
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.