T - public class ProviderInstanceBindingBinder<T> extends AbstractBinder
T in HK2.| Constructor and Description |
|---|
ProviderInstanceBindingBinder(Iterable<? extends T> providers,
Class<T> providerType)
Create an injection binder for the supplied collection of provider instances.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Implement to provide binding definitions using the exposed binding
methods.
|
addActiveDescriptor, addActiveDescriptor, addUnbindFilter, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, installpublic ProviderInstanceBindingBinder(Iterable<? extends T> providers, Class<T> providerType)
providers - list of provider instances.providerType - registered provider contract type.protected void configure()
AbstractBinderconfigure in class AbstractBinderCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.