Package org.togglz.core.context
Class JNDIFeatureManagerProvider
- java.lang.Object
-
- org.togglz.core.context.JNDIFeatureManagerProvider
-
- All Implemented Interfaces:
FeatureManagerProvider,Weighted
public class JNDIFeatureManagerProvider extends Object implements FeatureManagerProvider
Implementation ofFeatureManagerProviderthat tries to look up aFeatureManagerfrom JNDI using the namejava:/comp/env/FeatureManager.- Author:
- Christian Kaltepoth
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.togglz.core.util.Weighted
Weighted.WeightedComparator
-
-
Constructor Summary
Constructors Constructor Description JNDIFeatureManagerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureManagergetFeatureManager()intpriority()Low priorities are processed first.
-
-
-
Field Detail
-
JNDI_NAME
public static final String JNDI_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
priority
public int priority()
Description copied from interface:WeightedLow priorities are processed first.
-
getFeatureManager
public FeatureManager getFeatureManager()
- Specified by:
getFeatureManagerin interfaceFeatureManagerProvider
-
-