// 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);
}
};
final DynamicConfiguration dc = Injections.getConfiguration(locator);
configBinder.bind(dc);
dc.commit();
// Bind providers.
ProviderBinder.bindProviders(runtimeConfig.getComponentBag(), RuntimeType.CLIENT, null, locator);