Package org.togglz.core.bootstrap
Interface TogglzBootstrap
-
public interface TogglzBootstrapImplementations of this interface are looked up by Togglz during the bootstrapping process and used to create the FeatureManager for the application. The automatic bootstrapping is the default behavior for web applications.
Users can choose whether they want to implement
TogglzBootstraporTogglzConfigfor configuring Togglz. The advantage ofTogglzBootstrapis that it offers more control thanTogglzConfigwhileTogglzConfigis easier to use but doesn't allow to configure all the aspects of theFeatureManager.- Author:
- Christian Kaltepoth
- See Also:
FeatureManagerBootstrapper,TogglzConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureManagercreateFeatureManager()Create theFeatureManagerfor the application.
-
-
-
Method Detail
-
createFeatureManager
FeatureManager createFeatureManager()
Create theFeatureManagerfor the application. Implementations typically useFeatureManagerBuilderwhich offers a fluent API for configuring all the aspects of Togglz.- Returns:
- The new
FeatureManager, nevernull.
-
-