Package org.glassfish.jersey.internal
Class FeatureConfigurator
java.lang.Object
org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<T>
org.glassfish.jersey.AbstractFeatureConfigurator<Feature>
org.glassfish.jersey.internal.FeatureConfigurator
- All Implemented Interfaces:
BootstrapConfigurator
Registers JAX-RS
Feature 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).
This configurator's instance shall be the last (or at least after AutoDiscoverableConfigurator)
in the list of configurators due to same list of AutoDiscoverable
used in the BootstrapBag to register discovered features.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.Methods inherited from class org.glassfish.jersey.AbstractFeatureConfigurator
loadImplementations, registerFeaturesMethods inherited from class org.glassfish.jersey.internal.AbstractServiceFinderConfigurator
getContract, getRuntimeType, loadImplementationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glassfish.jersey.internal.BootstrapConfigurator
postInit
-
Constructor Details
-
FeatureConfigurator
-
-
Method Details
-
init
Description copied from interface:BootstrapConfiguratorPre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.- Parameters:
injectionManager- not completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-