public class SharedStateContributionRegistryImpl extends java.lang.Object implements ISharedStateContributionRegistry
| Constructor and Description | 
|---|
SharedStateContributionRegistryImpl(com.google.inject.Injector injector)  | 
| Modifier and Type | Method and Description | 
|---|---|
SharedStateContribution | 
createContribution(com.google.inject.Module childModule)  | 
com.google.inject.Injector | 
createInjectorWithoutJITBindings(com.google.inject.Module childModule)  | 
<T> com.google.common.collect.ImmutableList<? extends T> | 
getContributedInstances(java.lang.Class<T> type)
Initialize and return all known contributions. 
 | 
com.google.common.collect.ImmutableList<? extends SharedStateContribution> | 
getContributions()
Returns all contribution handles. 
 | 
<T> com.google.common.collect.ImmutableList<? extends com.google.inject.Provider<? extends T>> | 
getLazyContributedInstances(java.lang.Class<T> type)
Returns providers for all known contribution for the given type. 
 | 
<T> com.google.inject.Provider<? extends T> | 
getLazySingleContributedInstance(java.lang.Class<T> type)
Return a provider the single known contribution for the given type. 
 | 
<T> T | 
getSingleContributedInstance(java.lang.Class<T> type)
Initialize and return the single known contribution for the given type. 
 | 
protected com.google.inject.Module | 
getWrappedModule(com.google.inject.Module childModule)  | 
@Inject public SharedStateContributionRegistryImpl(com.google.inject.Injector injector)
public com.google.inject.Injector createInjectorWithoutJITBindings(com.google.inject.Module childModule)
public com.google.common.collect.ImmutableList<? extends SharedStateContribution> getContributions()
ISharedStateContributionRegistrynull but possibly empty.getContributions in interface ISharedStateContributionRegistrypublic <T> com.google.common.collect.ImmutableList<? extends T> getContributedInstances(java.lang.Class<T> type)
ISharedStateContributionRegistrynull but possibly empty.getContributedInstances in interface ISharedStateContributionRegistrypublic <T> com.google.inject.Provider<? extends T> getLazySingleContributedInstance(java.lang.Class<T> type)
ISharedStateContributionRegistryIllegalStateException if
 there is no such contribution or more than one contribution for that type.getLazySingleContributedInstance in interface ISharedStateContributionRegistrypublic <T> T getSingleContributedInstance(java.lang.Class<T> type)
ISharedStateContributionRegistryIllegalStateException
 if there is no such contribution or more than one contribution for that type.getSingleContributedInstance in interface ISharedStateContributionRegistrypublic <T> com.google.common.collect.ImmutableList<? extends com.google.inject.Provider<? extends T>> getLazyContributedInstances(java.lang.Class<T> type)
ISharedStateContributionRegistrynull but
 possibly empty.getLazyContributedInstances in interface ISharedStateContributionRegistrypublic SharedStateContribution createContribution(com.google.inject.Module childModule)
protected com.google.inject.Module getWrappedModule(com.google.inject.Module childModule)