T - contract type.public class ServiceFinderBinder<T>
extends org.glassfish.hk2.utilities.binding.AbstractBinder
ServiceFinder
and registers found instances to ServiceLocator.| 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() |
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addIdempotentFilter, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, installprivate 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.