|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.java.injection.MethodInjector<T>
public class MethodInjector<T>
Injects a value created by an ObjectFactory
using a given method
Constructor Summary | |
---|---|
MethodInjector(java.lang.reflect.Method aMethod,
ObjectFactory<?> objectFactory)
|
Method Summary | |
---|---|
void |
inject(T instance)
Inject a 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 MethodInjector(java.lang.reflect.Method aMethod, ObjectFactory<?> objectFactory)
Method Detail |
---|
public void inject(T instance) throws ObjectCreationException
Injector
inject
in interface Injector<T>
ObjectCreationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |