|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Provider | |
|---|---|
| org.glassfish.hk2 | |
| Uses of Provider in org.glassfish.hk2 |
|---|
| Subinterfaces of Provider in org.glassfish.hk2 | |
|---|---|
interface |
ManagedComponentProvider<T>
A ManagedComponentProvider is one in which its backing
component that it provides can either be in an active or inactive
state. |
| Methods in org.glassfish.hk2 that return Provider | |
|---|---|
Provider<T> |
Providers.getProvider()
Return the "best" Provider from the collection that matches
current criteria. |
Provider<T> |
Binding.getProvider()
Return a Provider with providing contextual information
on how the provider will be used. |
Provider<T> |
Binding.getProvider(Context ctx)
Return a Provider optionally providing contextual
information for how the component provider will be used (e.g., for
contextual injection, etc). |
| Methods in org.glassfish.hk2 that return types with arguments of type Provider | |
|---|---|
Collection<Provider<T>> |
Providers.all()
Return all applicable Providers. |
| Methods in org.glassfish.hk2 with parameters of type Provider | ||
|---|---|---|
|
ScopeInstance.contains(Provider<T> provider)
Returns true if this scope instance contains a stored inhabitant
for a given provider, returns false otherwise. |
|
|
ScopeInstance.get(Provider<T> provider)
Retrieves a stored inhabitant if present in the scope instance. |
|
|
ScopeInstance.put(Provider<T> provider,
T value)
Stores a inhabitant component instance. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||