class AppFormerJsActivityLoader implements PlaceManagerImpl.AppFormerActivityLoader {

    Activity updateRealContent(final JavaScriptObject jsObject,
                               final String componentId) {

        //FIXME: Get activity bean from BeanManager to prevent onStartup to be invoked.
        final Activity activity = activityManager.getActivity(new DefaultPlaceRequest(componentId));

        final JsWorkbenchLazyActivity lazyActivity = (JsWorkbenchLazyActivity) activity;
        lazyActivity.updateRealContent(jsObject);
        return activity;
    }

    @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);

}