Skip to content

Instantly share code, notes, and snippets.

@nattaphonjeamjit
Created April 8, 2018 16:57
Show Gist options
  • Save nattaphonjeamjit/aa64ca9d322af1b5ae48c7af270c6909 to your computer and use it in GitHub Desktop.
Save nattaphonjeamjit/aa64ca9d322af1b5ae48c7af270c6909 to your computer and use it in GitHub Desktop.
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