// Configure binders and features.
runtimeCfgState.configureMetaProviders(locator);
// Bind configuration.
final AbstractBinder configBinder = new AbstractBinder() {
@Override
protected void configure() {
bind(runtimeCfgState).to(Configuration.class);
}
};
final DynamicConfiguration dc = Injections.getConfiguration(locator);
configBinder.bind(dc);
dc.commit();
// Bind providers.
ProviderBinder.bindProviders(runtimeCfgState.getComponentBag(), RuntimeType.CLIENT, null, locator);