Created
April 8, 2018 16:57
-
-
Save nattaphonjeamjit/aa64ca9d322af1b5ae48c7af270c6909 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.togglz.core.manager.EnumBasedFeatureProvider; | |
import org.togglz.core.spi.FeatureProvider; | |
@Configuration | |
public class ToggleConfiguration { | |
@Bean | |
public FeatureProvider featureProvider() { | |
return new EnumBasedFeatureProvider(FeatureEnum.class); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment