Package org.glassfish.jersey
Class AbstractFeatureConfigurator<T>
- java.lang.Object
-
- org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<T>
-
- org.glassfish.jersey.AbstractFeatureConfigurator<T>
-
- All Implemented Interfaces:
BootstrapConfigurator
- Direct Known Subclasses:
DynamicFeatureConfigurator
,FeatureConfigurator
public abstract class AbstractFeatureConfigurator<T> extends AbstractServiceFinderConfigurator<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFeatureConfigurator(Class contract, jakarta.ws.rs.RuntimeType runtimeType)
Create a new configurator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Class<T>>
loadImplementations(Map<String,Object> applicationProperties, ClassLoader loader)
Specification specific implementation which allows find classes by specified classloaderprotected void
registerFeatures(Collection<Class<T>> features, BootstrapBag bootstrapBag)
Allows feature registration as part of autoDiscoverables list-
Methods inherited from class org.glassfish.jersey.internal.AbstractServiceFinderConfigurator
getContract, getRuntimeType, loadImplementations
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jersey.internal.BootstrapConfigurator
init, postInit
-
-
-
-
Constructor Detail
-
AbstractFeatureConfigurator
protected AbstractFeatureConfigurator(Class contract, jakarta.ws.rs.RuntimeType runtimeType)
Create a new configurator.- Parameters:
contract
- contract of the service providers bound by this binder.runtimeType
- runtime (client or server) where the service finder binder is used.
-
-
Method Detail
-
loadImplementations
protected List<Class<T>> loadImplementations(Map<String,Object> applicationProperties, ClassLoader loader)
Specification specific implementation which allows find classes by specified classloader- Parameters:
applicationProperties
- map of properties to check if search is allowedloader
- specific classloader (must not be NULL)- Returns:
- list of found classes
-
registerFeatures
protected void registerFeatures(Collection<Class<T>> features, BootstrapBag bootstrapBag)
Allows feature registration as part of autoDiscoverables list- Parameters:
features
- list of features to be registeredbootstrapBag
- place where features are being registered
-
-