| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.implementation.java.injection.FieldInjector<T>
public class FieldInjector<T>
Injects a value created by an ObjectFactory on a given field
| Constructor Summary | |
|---|---|
FieldInjector(java.lang.reflect.Field pField,
              ObjectFactory<?> objectFactory)
Create an injector and have it use the given ObjectFactory to inject a value on the instance using
 the reflected Field | 
|
| Method Summary | |
|---|---|
 void | 
inject(T instance)
Inject a new value on the given instance  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FieldInjector(java.lang.reflect.Field pField,
                     ObjectFactory<?> objectFactory)
ObjectFactory to inject a value on the instance using
 the reflected Field
| Method Detail | 
|---|
public void inject(T instance)
            throws ObjectCreationException
inject in interface Injector<T>ObjectCreationException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||