public abstract class AbstractFeatureConfigurator<T> extends AbstractServiceFinderConfigurator<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractFeatureConfigurator(Class contract,
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, loadImplementations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, postInit
protected AbstractFeatureConfigurator(Class contract, 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-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.