| Constructor and Description | 
|---|
GuiceInjector(org.codehaus.griffon.runtime.injection.InstanceTracker instanceTracker)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
Injector | 
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)  | 
void | 
release(Object instance)  | 
public GuiceInjector(@Nonnull org.codehaus.griffon.runtime.injection.InstanceTracker instanceTracker)
@Nonnull public <T> T getInstance(@Nonnull Class<T> type) throws InstanceNotFoundException
getInstance in interface Injector<Injector>InstanceNotFoundException@Nonnull public <T> T getInstance(@Nonnull Class<T> type, @Nonnull Annotation qualifier) throws InstanceNotFoundException
getInstance in interface Injector<Injector>InstanceNotFoundException@Nonnull public <T> Collection<T> getInstances(@Nonnull Class<T> type) throws InstanceNotFoundException
getInstances in interface Injector<Injector>InstanceNotFoundException@Nonnull public <T> Collection<Qualified<T>> getQualifiedInstances(@Nonnull Class<T> type) throws InstanceNotFoundException
getQualifiedInstances in interface Injector<Injector>InstanceNotFoundExceptionpublic void injectMembers(@Nonnull Object instance) throws MembersInjectionException
injectMembers in interface Injector<Injector>MembersInjectionException@Nonnull public Injector getDelegateInjector()
getDelegateInjector in interface Injector<Injector>