@ServiceProviderFor(value=InjectorFactory.class) public class GuiceInjectorFactory extends 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,
Iterable<Binding<?>> bindings) |
protected boolean |
isContextual(AnnotatedElement element) |
protected boolean |
isInjectable(AnnotatedElement element) |
protected void |
resolveConfigurationInjections(Object injectee,
GriffonApplication application) |
protected void |
resolveContextualInjections(Object injectee,
GriffonApplication application) |
protected GuiceInjectorFactory.InjectionPoint.Type |
resolveType(AnnotatedElement element) |
@Nonnull public GuiceInjector createInjector(@Nonnull GriffonApplication application, @Nonnull Iterable<Binding<?>> bindings)
createInjector
in interface InjectorFactory
protected void resolveContextualInjections(@Nonnull Object injectee, @Nonnull GriffonApplication application)
@Nonnull protected GuiceInjectorFactory.InjectionPoint.Type resolveType(@Nonnull AnnotatedElement element)
protected boolean isContextual(AnnotatedElement element)
protected boolean isInjectable(AnnotatedElement element)
protected void resolveConfigurationInjections(@Nonnull Object injectee, @Nonnull GriffonApplication application)