org.glassfish.jersey.internal
Class ServiceFinderBinder<T>
java.lang.Object
org.glassfish.jersey.internal.inject.AbstractBinder
org.glassfish.jersey.internal.ServiceFinderBinder<T>
- Type Parameters:
T - contract type.
- All Implemented Interfaces:
- DynamicConfiguration, Binder
public class ServiceFinderBinder<T>
- extends AbstractBinder
Simple ServiceFinder injection binder.
Looks for all implementations of a given contract using ServiceFinder
and registers found instances to ServiceLocator.
- Author:
- Pavel Bucek (pavel.bucek at oracle.com)
|
Method Summary |
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 |
ServiceFinderBinder
public ServiceFinderBinder(Class<T> contract)
- Create a new service finder injection binder.
- Parameters:
contract - contract of the service providers bound by this binder.
configure
public 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.