org.apache.webbeans.inject.xml
Class XMLInjectableConstructor<T>
java.lang.Object
org.apache.webbeans.inject.AbstractInjectable
org.apache.webbeans.inject.InjectableConstructor<T>
org.apache.webbeans.inject.xml.XMLInjectableConstructor<T>
- Type Parameters:
T - type of the constructor
- All Implemented Interfaces:
- Injectable
public class XMLInjectableConstructor<T>
- extends InjectableConstructor<T>
Defines the injectable constructor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLInjectableConstructor
public XMLInjectableConstructor(Constructor<T> constructor,
AbstractOwbBean<?> owner,
CreationalContext<?> creationalContext)
- Defines new
XMLInjectableConstructor instance.
- Parameters:
constructor - bean constructorowner - constructor owner beans
doInjection
public T doInjection()
- Description copied from class:
InjectableConstructor
- Creates the instance from the constructor. Each constructor parameter
instance is resolved using the resolution algorithm.
- Specified by:
doInjection in interface Injectable- Overrides:
doInjection in class InjectableConstructor<T>
- Returns:
- if the return instance if available
getConstructor
public Constructor<T> getConstructor()
- Returns:
- the constructor
addInjectionPointModel
public void addInjectionPointModel(XMLInjectionPointModel model)
- Adds new constructor parameter injection model.
- Parameters:
model - new injection point model for constructor parameter
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.