Class FeatureConfigurator

  • All Implemented Interfaces:
    BootstrapConfigurator

    public class FeatureConfigurator
    extends AbstractFeatureConfigurator<jakarta.ws.rs.core.Feature>
    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 Detail

      • FeatureConfigurator

        public FeatureConfigurator​(jakarta.ws.rs.RuntimeType runtimeType)
    • 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 into InjectionManager and populate BootstrapBag.
        Parameters:
        injectionManager - not completed injection manager.
        bootstrapBag - bootstrap bag with services used in following processing.