@ServiceProviderFor(value=InjectorFactory.class) public class GuiceInjectorFactory extends java.lang.Object implements InjectorFactory
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GuiceInjectorFactory.FieldInjectionPoint |
protected static class |
GuiceInjectorFactory.InjectionPoint |
protected static class |
GuiceInjectorFactory.MethodInjectionPoint |
| Constructor and Description |
|---|
GuiceInjectorFactory() |
| Modifier and Type | Method and Description |
|---|---|
GuiceInjector |
createInjector(GriffonApplication application,
java.lang.Iterable<Binding<?>> bindings) |
protected boolean |
isContextual(java.lang.reflect.AnnotatedElement element) |
protected boolean |
isInjectable(java.lang.reflect.AnnotatedElement element) |
protected void |
resolveConfigurationInjections(java.lang.Object injectee,
GriffonApplication application) |
protected void |
resolveContextualInjections(java.lang.Object injectee,
GriffonApplication application) |
protected GuiceInjectorFactory.InjectionPoint.Type |
resolveType(java.lang.reflect.AnnotatedElement element) |
@Nonnull public GuiceInjector createInjector(@Nonnull GriffonApplication application, @Nonnull java.lang.Iterable<Binding<?>> bindings)
createInjector in interface InjectorFactoryprotected void resolveContextualInjections(@Nonnull
java.lang.Object injectee,
@Nonnull
GriffonApplication application)
@Nonnull protected GuiceInjectorFactory.InjectionPoint.Type resolveType(@Nonnull java.lang.reflect.AnnotatedElement element)
protected boolean isContextual(java.lang.reflect.AnnotatedElement element)
protected boolean isInjectable(java.lang.reflect.AnnotatedElement element)
protected void resolveConfigurationInjections(@Nonnull
java.lang.Object injectee,
@Nonnull
GriffonApplication application)