daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import org.togglz.core.manager.EnumBasedFeatureProvider;
  2. import org.togglz.core.spi.FeatureProvider;
  3.  
  4. @Configuration
  5. public class ToggleConfiguration {
  6.  
  7.     @Bean
  8.     public FeatureProvider featureProvider() {
  9.         return new EnumBasedFeatureProvider(FeatureEnum.class);
  10.     }
  11.  
  12. }
RAW Paste Data
Top