public interface TogglzBootstrap
Implementations 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 TogglzBootstrap
or TogglzConfig
for configuring Togglz. The
advantage of TogglzBootstrap
is that it offers more control than TogglzConfig
while TogglzConfig
is
easier to use but doesn't allow to configure all the aspects of the FeatureManager
.
FeatureManagerBootstrapper
,
TogglzConfig
Modifier and Type | Method and Description |
---|---|
FeatureManager |
createFeatureManager()
Create the
FeatureManager for the application. |
FeatureManager createFeatureManager()
FeatureManager
for the application. Implementations typially use FeatureManagerBuilder
which
offers a fluent API for configuring all the aspects of Togglz.FeatureManager
, never null
.Copyright © 2017. All Rights Reserved.