Package org.togglz.core.context
Class BeanFinderFeatureManagerProvider
java.lang.Object
org.togglz.core.context.BeanFinderFeatureManagerProvider
- All Implemented Interfaces:
FeatureManagerProvider,Weighted
FeatureManagerProvider that uses the BeanFinder SPI to lookup the FeatureManager. 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 -
Method Summary
-
Constructor Details
-
BeanFinderFeatureManagerProvider
public BeanFinderFeatureManagerProvider()
-
-
Method Details
-
priority
public int priority()Description copied from interface:WeightedLow priorities are processed first. -
getFeatureManager
- Specified by:
getFeatureManagerin interfaceFeatureManagerProvider
-