public abstract class AbstractFeatureConfigurator<T> extends AbstractServiceFinderConfigurator<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFeatureConfigurator(Class contract,
jakarta.ws.rs.RuntimeType runtimeType)
Create a new configurator.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Class<T>> |
loadImplementations(Map<String,Object> applicationProperties,
ClassLoader loader)
Specification specific implementation which allows find classes by specified classloader
|
protected void |
registerFeatures(Collection<Class<T>> features,
BootstrapBag bootstrapBag)
Allows feature registration as part of autoDiscoverables list
|
getContract, getRuntimeType, loadImplementationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, postInitprotected AbstractFeatureConfigurator(Class contract, jakarta.ws.rs.RuntimeType runtimeType)
contract - contract of the service providers bound by this binder.runtimeType - runtime (client or server) where the service finder binder is used.protected List<Class<T>> loadImplementations(Map<String,Object> applicationProperties, ClassLoader loader)
applicationProperties - map of properties to check if search is allowedloader - specific classloader (must not be NULL)protected void registerFeatures(Collection<Class<T>> features, BootstrapBag bootstrapBag)
features - list of features to be registeredbootstrapBag - place where features are being registeredCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.