public class ContextClassLoaderFeatureManagerProvider extends Object implements FeatureManagerProvider
FeatureManagerProvider stores one FeatureManager for each context class loader.Weighted.WeightedComparator| Constructor and Description |
|---|
ContextClassLoaderFeatureManagerProvider() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bind(FeatureManager featureManager)
Binds the
FeatureManager to the current context class loader . |
FeatureManager |
getFeatureManager() |
int |
priority()
Low priorities are processed first.
|
static void |
release()
Releases the
FeatureManager associated with the current context class loader. |
public ContextClassLoaderFeatureManagerProvider()
public int priority()
Weightedpublic FeatureManager getFeatureManager()
getFeatureManager in interface FeatureManagerProviderpublic static void bind(FeatureManager featureManager)
FeatureManager to the current context class loader .public static void release()
FeatureManager associated with the current context class loader.Copyright © 2018. All Rights Reserved.