|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Provider | |
---|---|
com.google.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
com.google.inject.binder | Interfaces which make up Binder 's
expression language. |
com.google.inject.jndi | JNDI integration |
com.google.inject.spring | Spring integration |
Uses of Provider in com.google.inject |
---|
Methods in com.google.inject that return Provider | ||
---|---|---|
Provider<T> |
Binding.getProvider()
Returns the provider guice uses to fulfill requests for this binding. |
|
|
Injector.getProvider(Class<T> type)
Gets the provider bound to the given type. |
|
|
Injector.getProvider(Key<T> key)
Gets the provider bound to the given key. |
|
|
Scope.scope(Key<T> key,
Provider<T> unscoped)
Scopes a provider. |
Methods in com.google.inject with parameters of type Provider | ||
---|---|---|
|
Scope.scope(Key<T> key,
Provider<T> unscoped)
Scopes a provider. |
Uses of Provider in com.google.inject.binder |
---|
Methods in com.google.inject.binder with parameters of type Provider | |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Provider<? extends T> provider)
Binds to instances generated by the given Provider. |
Method parameters in com.google.inject.binder with type arguments of type Provider | |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Class<? extends Provider<? extends T>> providerType)
Binds to instances from the provider bound to the given provider type. |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Key<? extends Provider<? extends T>> providerKey)
Binds to instances from the provider bound to the given key. |
Uses of Provider in com.google.inject.jndi |
---|
Methods in com.google.inject.jndi that return Provider | ||
---|---|---|
static
|
JndiIntegration.fromJndi(Class<T> type,
String name)
Creates a provider which looks up objects in JNDI using the given name. |
Uses of Provider in com.google.inject.spring |
---|
Methods in com.google.inject.spring that return Provider | ||
---|---|---|
static
|
SpringIntegration.fromSpring(Class<T> type,
String name)
Creates a provider which looks up objects from Spring using the given name. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |