Package 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:
org.glassfish.jersey.internal.inject.Binder
public class ServiceFinderBinder<T> extends org.glassfish.jersey.internal.inject.AbstractBinder
Simple ServiceFinder injection binder. Looks for all implementations of a given contract usingServiceFinder
and registers found instances toInjectionManager
.- Author:
- Pavel Bucek, Libor Kramolis
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
Implement to provide binding definitions using the exposed binding methods.
-
-
-
Constructor Detail
-
ServiceFinderBinder
public ServiceFinderBinder(Class<T> contract, Map<String,Object> applicationProperties, jakarta.ws.rs.RuntimeType runtimeType)
Create a new service finder injection binder.- Parameters:
contract
- contract of the service providers bound by this binder.applicationProperties
- map containing application properties. May benull
.runtimeType
- runtime (client or server) where the service finder binder is used.
-
-