org.glassfish.jersey.internal.inject
Class ProviderInstanceBindingBinder<T>
java.lang.Object
org.glassfish.jersey.internal.inject.AbstractBinder
org.glassfish.jersey.internal.inject.ProviderInstanceBindingBinder<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- DynamicConfiguration, Binder
public class ProviderInstanceBindingBinder<T>
- extends AbstractBinder
Utility Injection binder that may be used for registering provider instances of provider
type T in HK2.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
|
Method Summary |
protected void |
configure()
Implement to provide binding definitions using the exposed binding
methods. |
| Methods inherited from class org.glassfish.jersey.internal.inject.AbstractBinder |
addActiveDescriptor, addActiveDescriptor, addUnbindFilter, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderInstanceBindingBinder
public ProviderInstanceBindingBinder(Iterable<? extends T> providers,
Class<T> providerType)
- Create an injection binder for the supplied collection of provider instances.
- Parameters:
providers - list of provider instances.providerType - registered provider contract type.
configure
protected void configure()
- Description copied from class:
AbstractBinder
- Implement to provide binding definitions using the exposed binding
methods.
- Specified by:
configure in class AbstractBinder
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.