Package org.glassfish.jersey.internal
Class DynamicFeatureConfigurator
- java.lang.Object
-
- org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<T>
-
- org.glassfish.jersey.AbstractFeatureConfigurator<DynamicFeature>
-
- org.glassfish.jersey.internal.DynamicFeatureConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
public class DynamicFeatureConfigurator extends AbstractFeatureConfigurator<DynamicFeature>
Registers JAX-RSDynamicFeature
which are listed as SPIs for registration. Also checks if JAX-RS service loading is enabled by the jakarta.ws.rs.loadServices property. In order for registration to proceed the property shall be true (or null). Configurator is used only at Server side. This configurator's instance shall be afterAutoDiscoverableConfigurator
in the list of configurators due to same list ofAutoDiscoverable
used in theBootstrapBag
to register discovered features.
-
-
Constructor Summary
Constructors Constructor Description DynamicFeatureConfigurator()
Create a new configurator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.-
Methods inherited from class org.glassfish.jersey.AbstractFeatureConfigurator
loadImplementations, registerFeatures
-
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
postInit
-
-
-
-
Method Detail
-
init
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
-