// Configure binders and features.
runtimeConfig.configureMetaProviders(locator);
// Bind configuration.
final ExtendedConfig configuration = runtimeConfig.getConfiguration();
final AbstractBinder configBinder = new AbstractBinder() {
@Override
protected void configure() {
bind(configuration).to(Configuration.class);
}