This class is used to automatically bootstrap a {@link FeatureManager} for Togglz which is the default behavior for simpleweb applications. The bootstrap process heavily relies on the {@link BeanFinder} SPI.
The bootstrapping process consists of the following steps:
- First try to locate an implementation of the {@link TogglzBootstrap} interface. If this lookup is successful, a{@link FeatureManager} is created from it and returned.
- If the first step fails, the class will try to locate an implementation of the {@link TogglzConfig} interface. If animplementation is found, it is used to build a {@link FeatureManager} using{@link FeatureManagerBuilder#togglzConfig(TogglzConfig)} which will be returned to the caller.
@author Christian Kaltepoth