org.apache.webbeans.inject.xml
Class XMLInjectableField
java.lang.Object
org.apache.webbeans.inject.AbstractInjectable
org.apache.webbeans.inject.InjectableField
org.apache.webbeans.inject.xml.XMLInjectableField
- All Implemented Interfaces:
- Injectable
public class XMLInjectableField
- extends InjectableField
|
Method Summary |
Object |
doInjection()
Responsible for injecting the owner required injected component
instances. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLInjectableField
public XMLInjectableField(Field field,
Object instance,
AbstractOwbBean<?> owner,
XMLInjectionPointModel model,
CreationalContext<?> creationalContext)
doInjection
public Object doInjection()
- Description copied from interface:
Injectable
- Responsible for injecting the owner required injected component
instances. Maybe returning an component instance, for example,
InjectableConstructor.doInjection() returns a new web bean
component instance.
Each injetable elements parameters, web beans component instances, are
resolved using the resolution type algorithm.
- Specified by:
doInjection in interface Injectable- Overrides:
doInjection in class InjectableField
- Returns:
- if the return instance if available
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.