T
- contract type.public class ServiceFinderBinder<T> extends AbstractBinder
ServiceFinder
and registers found instances to InjectionManager
.Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
applicationProperties |
private java.lang.Class<T> |
contract |
private javax.ws.rs.RuntimeType |
runtimeType |
Constructor and Description |
---|
ServiceFinderBinder(java.lang.Class<T> contract,
java.util.Map<java.lang.String,java.lang.Object> applicationProperties,
javax.ws.rs.RuntimeType runtimeType)
Create a new service finder injection binder.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Implement to provide binding definitions using the exposed binding methods.
|
bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
private final java.lang.Class<T> contract
private final java.util.Map<java.lang.String,java.lang.Object> applicationProperties
private final javax.ws.rs.RuntimeType runtimeType
public ServiceFinderBinder(java.lang.Class<T> contract, java.util.Map<java.lang.String,java.lang.Object> applicationProperties, javax.ws.rs.RuntimeType runtimeType)
contract
- contract of the service providers bound by this binder.applicationProperties
- map containing application properties. May be null
.runtimeType
- runtime (client or server) where the service finder binder is used.protected void configure()
AbstractBinder
configure
in class AbstractBinder