public interface Injector<I>
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| Injector<I> | createNestedInjector(Iterable<Binding<?>> bindings) | 
| Injector<I> | createNestedInjector(String name,
                    Iterable<Binding<?>> bindings) | 
| I | getDelegateInjector() | 
| <T> T | getInstance(Class<T> type) | 
| <T> T | getInstance(Class<T> type,
           Annotation qualifier) | 
| <T> Collection<T> | getInstances(Class<T> type) | 
| <T> Collection<Qualified<T>> | getQualifiedInstances(Class<T> type) | 
| void | injectMembers(Object instance) | 
@Nonnull <T> T getInstance(@Nonnull Class<T> type) throws InstanceNotFoundException
InstanceNotFoundException@Nonnull <T> T getInstance(@Nonnull Class<T> type, @Nonnull Annotation qualifier) throws InstanceNotFoundException
InstanceNotFoundException@Nonnull <T> Collection<T> getInstances(@Nonnull Class<T> type) throws InstanceNotFoundException
InstanceNotFoundException@Nonnull <T> Collection<Qualified<T>> getQualifiedInstances(@Nonnull Class<T> type) throws InstanceNotFoundException
InstanceNotFoundExceptionvoid injectMembers(@Nonnull Object instance) throws MembersInjectionException
MembersInjectionException@Nonnull Injector<I> createNestedInjector(@Nonnull Iterable<Binding<?>> bindings)
@Nonnull Injector<I> createNestedInjector(@Nonnull String name, @Nonnull Iterable<Binding<?>> bindings)
void close()