|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Provider | |
---|---|
org.elasticsearch.common.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
org.elasticsearch.common.inject.assistedinject | Extension for combining factory interfaces with injection; this extension requires guice-jndi-2.0.jar . |
org.elasticsearch.common.inject.binder | Interfaces which make up Binder 's
expression language. |
org.elasticsearch.common.inject.internal | Guice (sounds like like "juice") |
org.elasticsearch.common.inject.spi | Guice service provider interface |
org.elasticsearch.common.inject.util | Helper methods for working with Guice. |
org.elasticsearch.index.analysis | |
org.elasticsearch.index.settings | |
org.elasticsearch.index.similarity |
Uses of Provider in org.elasticsearch.common.inject |
---|
Methods in org.elasticsearch.common.inject that return Provider | ||
---|---|---|
Provider<T> |
Binding.getProvider()
Returns the scoped provider guice uses to fulfill requests for this binding. |
|
protected
|
PrivateModule.getProvider(Class<T> type)
|
|
|
Injector.getProvider(Class<T> type)
Returns the provider used to obtain instances for the given type. |
|
|
Binder.getProvider(Class<T> type)
Returns the provider used to obtain instances for the given injection type. |
|
protected
|
AbstractModule.getProvider(Class<T> type)
|
|
protected
|
PrivateModule.getProvider(Key<T> key)
|
|
|
Injector.getProvider(Key<T> key)
Returns the provider used to obtain instances for the given injection key. |
|
|
Binder.getProvider(Key<T> key)
Returns the provider used to obtain instances for the given injection key. |
|
protected
|
AbstractModule.getProvider(Key<T> key)
|
|
|
Scope.scope(Key<T> key,
Provider<T> unscoped)
Scopes a provider. |
Methods in org.elasticsearch.common.inject that return types with arguments of type Provider | ||
---|---|---|
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 |
Methods in org.elasticsearch.common.inject with parameters of type Provider | ||
---|---|---|
|
Scope.scope(Key<T> key,
Provider<T> unscoped)
Scopes a provider. |
Uses of Provider in org.elasticsearch.common.inject.assistedinject |
---|
Classes in org.elasticsearch.common.inject.assistedinject that implement Provider | |
---|---|
class |
FactoryProvider<F>
Provides a factory that combines the caller's arguments with injector-supplied values to construct objects. |
Methods in org.elasticsearch.common.inject.assistedinject that return Provider | ||
---|---|---|
static
|
FactoryProvider.newFactory(Class<F> factoryType,
Class<?> implementationType)
|
|
static
|
FactoryProvider.newFactory(TypeLiteral<F> factoryType,
TypeLiteral<?> implementationType)
|
Uses of Provider in org.elasticsearch.common.inject.binder |
---|
Methods in org.elasticsearch.common.inject.binder with parameters of type Provider | |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Provider<? extends T> provider)
See the EDSL examples at Binder . |
Method parameters in org.elasticsearch.common.inject.binder with type arguments of type Provider | |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Class<? extends Provider<? extends T>> providerType)
See the EDSL examples at Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Key<? extends Provider<? extends T>> providerKey)
See the EDSL examples at Binder . |
Uses of Provider in org.elasticsearch.common.inject.internal |
---|
Classes in org.elasticsearch.common.inject.internal that implement Provider | |
---|---|
class |
ProviderMethod<T>
A provider that invokes a method and returns its result. |
Methods in org.elasticsearch.common.inject.internal that return Provider | |
---|---|
Provider<T> |
InstanceBindingImpl.getProvider()
|
Provider<T> |
BindingImpl.getProvider()
|
Provider<? extends T> |
ProviderInstanceBindingImpl.getProviderInstance()
|
Methods in org.elasticsearch.common.inject.internal that return types with arguments of type Provider | |
---|---|
Key<? extends Provider<? extends T>> |
LinkedProviderBindingImpl.getProviderKey()
|
Methods in org.elasticsearch.common.inject.internal with parameters of type Provider | |
---|---|
BindingBuilder<T> |
BindingBuilder.toProvider(Provider<? extends T> provider)
|
Method parameters in org.elasticsearch.common.inject.internal with type arguments of type Provider | |
---|---|
Errors |
Errors.subtypeNotProvided(Class<? extends Provider<?>> providerType,
Class<?> type)
|
BindingBuilder<T> |
BindingBuilder.toProvider(Class<? extends Provider<? extends T>> providerType)
|
BindingBuilder<T> |
BindingBuilder.toProvider(Key<? extends Provider<? extends T>> providerKey)
|
Constructors in org.elasticsearch.common.inject.internal with parameters of type Provider | |
---|---|
ProviderInstanceBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Provider<? extends T> providerInstance,
Set<InjectionPoint> injectionPoints)
|
|
ProviderInstanceBindingImpl(Object source,
Key<T> key,
Scoping scoping,
Set<InjectionPoint> injectionPoints,
Provider<? extends T> providerInstance)
|
Constructor parameters in org.elasticsearch.common.inject.internal with type arguments of type Provider | |
---|---|
LinkedProviderBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends Provider<? extends T>> providerKey)
|
Uses of Provider in org.elasticsearch.common.inject.spi |
---|
Classes in org.elasticsearch.common.inject.spi with type parameters of type Provider | |
---|---|
interface |
ProviderBinding<T extends Provider<?>>
A binding to a Provider that delegates to the binding for the provided type. |
Subinterfaces of Provider in org.elasticsearch.common.inject.spi | |
---|---|
interface |
ProviderWithDependencies<T>
A provider with dependencies on other injected types. |
Methods in org.elasticsearch.common.inject.spi that return Provider | ||
---|---|---|
Provider<T> |
ProviderLookup.getDelegate()
Returns the delegate provider, or null if it has not yet been initialized. |
|
Provider<T> |
ProviderLookup.getProvider()
Returns the looked up provider. |
|
|
TypeEncounter.getProvider(Class<T> type)
Returns the provider used to obtain instances for the given injection type. |
|
|
TypeEncounter.getProvider(Key<T> key)
Returns the provider used to obtain instances for the given injection key. |
|
Provider<? extends T> |
ProviderInstanceBinding.getProviderInstance()
Returns the user-supplied, unscoped provider. |
Methods in org.elasticsearch.common.inject.spi that return types with arguments of type Provider | |
---|---|
Key<? extends Provider<? extends T>> |
ProviderKeyBinding.getProviderKey()
Returns the key used to resolve the provider's binding. |
Methods in org.elasticsearch.common.inject.spi with parameters of type Provider | |
---|---|
void |
ProviderLookup.initializeDelegate(Provider<T> delegate)
Sets the actual provider. |
Uses of Provider in org.elasticsearch.common.inject.util |
---|
Methods in org.elasticsearch.common.inject.util that return Provider | ||
---|---|---|
static
|
Providers.of(T instance)
Returns a provider which always provides instance . |
Uses of Provider in org.elasticsearch.index.analysis |
---|
Subinterfaces of Provider in org.elasticsearch.index.analysis | |
---|---|
interface |
AnalyzerProvider<T extends Analyzer>
|
Uses of Provider in org.elasticsearch.index.settings |
---|
Classes in org.elasticsearch.index.settings that implement Provider | |
---|---|
class |
IndexSettingsProvider
A wrapper around the IndexSettingsService allowing to get the current
settings associated with an index (thus, allowing to change those settings and
new shards will use the new settings). |
Uses of Provider in org.elasticsearch.index.similarity |
---|
Subinterfaces of Provider in org.elasticsearch.index.similarity | |
---|---|
interface |
SimilarityProvider<T extends Similarity>
|
Classes in org.elasticsearch.index.similarity that implement Provider | |
---|---|
class |
AbstractSimilarityProvider<T extends Similarity>
|
class |
DefaultSimilarityProvider
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |