blob: 013b1c5874422fc560c6915dd76d43a4512d4ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.apache.tuscany.core.injection;
/**
* Implementations inject a pre-configured value on an instance
*
* @version $Rev$ $Date$
* @see MethodInjector
* @see FieldInjector
*/
public interface Injector<T> {
/**
* Inject a value on the given instance
*/
void inject(T instance) throws ObjectCreationException;
}
|