public class DynamicFeatureConfigurator extends AbstractFeatureConfigurator<DynamicFeature>
DynamicFeature
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 after AutoDiscoverableConfigurator
in the list of configurators due to same list of AutoDiscoverable
used in the BootstrapBag
to register discovered features.Constructor and Description |
---|
DynamicFeatureConfigurator()
Create a new configurator.
|
Modifier and Type | Method and Description |
---|---|
void |
init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag . |
loadImplementations, registerFeatures
getContract, getRuntimeType, loadImplementations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postInit
public DynamicFeatureConfigurator()
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and populate BootstrapBag
.injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.