public class FeatureConfigurator extends AbstractFeatureConfigurator<Feature>
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 and Description |
---|
FeatureConfigurator(RuntimeType runtimeType) |
Modifier and Type | Method and Description |
---|---|
void |
init(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 FeatureConfigurator(RuntimeType runtimeType)
public void init(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-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.