01: package com.bm.ejb3guice.introspect;
02:
03: import com.bm.ejb3guice.inject.Key;
04:
05: /**
06: * Javadoc.
07: *
08: * @author Kevin Bourrillion (kevinb9n@gmail.com)
09: */
10: public interface Dependency<T> {
11:
12: Implementation<?> getDependent();
13:
14: Key<T> getKey();
15:
16: boolean usesProviderInjection();
17:
18: InjectionStyle getInjectionStyle();
19:
20: // put this enum somewhere else?
21: enum InjectionStyle {
22: FIELD, METHOD, CONSTRUCTOR
23: }
24: }
|