org.apache.webbeans.inject
Class InjectableField
java.lang.Object
org.apache.webbeans.inject.AbstractInjectable
org.apache.webbeans.inject.InjectableField
- All Implemented Interfaces:
- Injectable
public class InjectableField
- extends AbstractInjectable
Field type injection.
- Since:
- 1.0
- Author:
- Gurkan Erdogdu
|
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 |
field
protected Field field
instance
protected Object instance
InjectableField
public InjectableField(Field field,
Object instance,
AbstractOwbBean<?> owner,
javax.enterprise.context.spi.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.
- Returns:
- if the return instance if available
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.