public class

CrossSiteLoadingStrategy

extends Object
implements AsyncFragmentLoader.LoadingStrategy
java.lang.Object
   ↳ com.google.gwt.core.client.impl.CrossSiteLoadingStrategy

Class Overview

Load runAsync code using a script tag. The com.google.gwt.core.linker.XSLinker sets __gwtModuleFunction to point at the function that wraps the initially downloaded code. On that function is a property installCode that can be invoked to eval more code in a scope nested somewhere within that function. The loaded script for fragment 123 is expected to invoke __gwtModuleFunction.runAsyncCallback123 with the code to be installed.

Summary

Public Constructors
CrossSiteLoadingStrategy()
Public Methods
void startLoadingFragment(int fragment, AsyncFragmentLoader.LoadTerminatedHandler loadFinishedHandler)
Protected Methods
String getDeferredJavaScriptDirectory()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadingStrategy

Public Constructors

public CrossSiteLoadingStrategy ()

Public Methods

public void startLoadingFragment (int fragment, AsyncFragmentLoader.LoadTerminatedHandler loadFinishedHandler)

Protected Methods

protected String getDeferredJavaScriptDirectory ()