|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Injector | |
---|---|
org.elasticsearch.common.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
org.elasticsearch.common.inject.internal | Guice (sounds like like "juice") |
org.elasticsearch.common.inject.spi | Guice service provider interface |
org.elasticsearch.index.service | |
org.elasticsearch.indices | |
org.elasticsearch.node.internal | |
org.elasticsearch.river |
Uses of Injector in org.elasticsearch.common.inject |
---|
Methods in org.elasticsearch.common.inject that return Injector | |
---|---|
Injector |
ModulesBuilder.createChildInjector(Injector injector)
|
Injector |
Injector.createChildInjector(Iterable<? extends Module> modules)
Returns a new injector that inherits all state from this injector. |
Injector |
Injector.createChildInjector(Module... modules)
Returns a new injector that inherits all state from this injector. |
Injector |
ModulesBuilder.createInjector()
|
static Injector |
Guice.createInjector(Iterable<? extends Module> modules)
Creates an injector for the given set of modules. |
static Injector |
Guice.createInjector(Module... modules)
Creates an injector for the given set of modules. |
static Injector |
Guice.createInjector(Stage stage,
Iterable<? extends Module> modules)
Creates an injector for the given set of modules, in a given development stage. |
static Injector |
Guice.createInjector(Stage stage,
Module... modules)
Creates an injector for the given set of modules, in a given development stage. |
Injector |
Injector.getParent()
Returns this injector's parent, or null if this is a top-level injector. |
Methods in org.elasticsearch.common.inject with parameters of type Injector | ||
---|---|---|
static void |
Injectors.cleanCaches(Injector injector)
|
|
static void |
Injectors.close(Injector injector)
|
|
Injector |
ModulesBuilder.createChildInjector(Injector injector)
|
|
static Binding<?> |
Injectors.getBinding(Injector injector,
Key<?> key)
Returns the binding for the given key or null if there is no such binding |
|
static Set<Binding<?>> |
Injectors.getBindingsOf(Injector injector,
Class<?> baseClass)
Returns a collection of all bindings of the given base type |
|
static Set<Binding<?>> |
Injectors.getBindingsOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all of the bindings matching the given matcher |
|
static
|
Injectors.getInstance(Injector injector,
Class<T> type,
String name)
Returns an instance of the given type with the Named
annotation value. |
|
static
|
Injectors.getInstancesOf(Injector injector,
Class<T> baseClass)
Returns a collection of all instances of the given base type |
|
static
|
Injectors.getInstancesOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all instances matching the given matcher |
|
static
|
Injectors.getProvidersOf(Injector injector,
Class<T> baseClass)
Returns a collection of all providers of the given base type |
|
static
|
Injectors.getProvidersOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all of the providers matching the given matcher |
|
static boolean |
Injectors.hasBinding(Injector injector,
Class<?> baseClass)
Returns true if a binding exists for the given base class |
|
static boolean |
Injectors.hasBinding(Injector injector,
Key<?> key)
Returns true if a binding exists for the given key |
|
static boolean |
Injectors.hasBinding(Injector injector,
Matcher<Class> matcher)
Returns true if a binding exists for the given matcher |
Uses of Injector in org.elasticsearch.common.inject.internal |
---|
Methods in org.elasticsearch.common.inject.internal that return Injector | |
---|---|
Injector |
PrivateElementsImpl.getInjector()
|
Injector |
BindingImpl.getInjector()
|
Methods in org.elasticsearch.common.inject.internal with parameters of type Injector | |
---|---|
void |
PrivateElementsImpl.initInjector(Injector injector)
|
Constructors in org.elasticsearch.common.inject.internal with parameters of type Injector | |
---|---|
BindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping)
|
|
ExposedBindingImpl(Injector injector,
Object source,
Key<T> key,
InternalFactory<T> factory,
PrivateElements privateElements)
|
|
InstanceBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Set<InjectionPoint> injectionPoints,
T instance)
|
|
LinkedBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends T> targetKey)
|
|
LinkedProviderBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends Provider<? extends T>> providerKey)
|
|
ProviderInstanceBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Provider<? extends T> providerInstance,
Set<InjectionPoint> injectionPoints)
|
|
UntargettedBindingImpl(Injector injector,
Key<T> key,
Object source)
|
Uses of Injector in org.elasticsearch.common.inject.spi |
---|
Methods in org.elasticsearch.common.inject.spi that return Injector | |
---|---|
Injector |
PrivateElements.getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector. |
Uses of Injector in org.elasticsearch.index.service |
---|
Methods in org.elasticsearch.index.service that return Injector | |
---|---|
Injector |
IndexService.injector()
|
Injector |
InternalIndexService.injector()
|
Injector |
IndexService.shardInjector(int shardId)
|
Injector |
InternalIndexService.shardInjector(int shardId)
|
Injector |
IndexService.shardInjectorSafe(int shardId)
|
Injector |
InternalIndexService.shardInjectorSafe(int shardId)
|
Constructors in org.elasticsearch.index.service with parameters of type Injector | |
---|---|
InternalIndexService(Injector injector,
Index index,
Settings indexSettings,
NodeEnvironment nodeEnv,
ThreadPool threadPool,
PercolatorService percolatorService,
AnalysisService analysisService,
MapperService mapperService,
IndexQueryParserService queryParserService,
SimilarityService similarityService,
IndexAliasesService aliasesService,
IndexCache indexCache,
IndexEngine indexEngine,
IndexGateway indexGateway,
IndexStore indexStore,
IndexSettingsService settingsService)
|
Uses of Injector in org.elasticsearch.indices |
---|
Constructors in org.elasticsearch.indices with parameters of type Injector | |
---|---|
InternalIndicesService(Settings settings,
NodeEnvironment nodeEnv,
ThreadPool threadPool,
IndicesLifecycle indicesLifecycle,
IndicesAnalysisService indicesAnalysisService,
IndicesStore indicesStore,
Injector injector)
|
Uses of Injector in org.elasticsearch.node.internal |
---|
Methods in org.elasticsearch.node.internal that return Injector | |
---|---|
Injector |
InternalNode.injector()
|
Uses of Injector in org.elasticsearch.river |
---|
Constructors in org.elasticsearch.river with parameters of type Injector | |
---|---|
RiversService(Settings settings,
Client client,
ThreadPool threadPool,
ClusterService clusterService,
RiversTypesRegistry typesRegistry,
RiverClusterService riverClusterService,
Injector injector)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |