class AppFormerJsActivityLoader implements PlaceManagerImpl.AppFormerActivityLoader {

    public void init(final String gwtModuleName) {
        this.gwtModuleName = gwtModuleName;

        stream(appFormerComponentsRegistry.keys())
                .map(this::newRegistryEntry)
                .forEach(this::registerComponent);
    }

    @Inject public  AppFormerJsActivityLoader(final Promises promises,
                                     final ActivityManager activityManager,
                                     final ActivityBeansCache activityBeansCache,
                                     final PlaceManager placeManager,
                                     final LazyLoadingScreen lazyLoadingScreen,
                                     final Event<ActivityLazyLoaded> activityLazyLoadedEvent,
                                     final @Shadowed Instance<JsWorkbenchEditorActivity> jsWorkbenchEditorActivityInstance,
                                     final AppFormerComponentsRegistry appFormerComponentsRegistry);

}