Package org.togglz.core.context
Class BeanFinderFeatureManagerProvider
- java.lang.Object
-
- org.togglz.core.context.BeanFinderFeatureManagerProvider
-
- All Implemented Interfaces:
FeatureManagerProvider,Weighted
public class BeanFinderFeatureManagerProvider extends Object implements FeatureManagerProvider
FeatureManagerProviderthat uses theBeanFinderSPI to lookup theFeatureManager. This implementation is especially useful if the FeatureManager should be created and managed by Spring or CDI instead of by the Togglz bootstrapping process.- Author:
- Christian Kaltepoth
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.togglz.core.util.Weighted
Weighted.WeightedComparator
-
-
Constructor Summary
Constructors Constructor Description BeanFinderFeatureManagerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureManagergetFeatureManager()intpriority()Low priorities are processed first.
-
-
-
Method Detail
-
priority
public int priority()
Description copied from interface:WeightedLow priorities are processed first.
-
getFeatureManager
public FeatureManager getFeatureManager()
- Specified by:
getFeatureManagerin interfaceFeatureManagerProvider
-
-