T
- contract type.public class ServiceFinderBinder<T>
extends org.glassfish.jersey.internal.inject.AbstractBinder
ServiceFinder
and registers found instances to InjectionManager
.Constructor and Description |
---|
ServiceFinderBinder(Class<T> contract,
Map<String,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.
|
public ServiceFinderBinder(Class<T> contract, Map<String,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.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.