public class DirectInstallLinker extends CrossSiteIframeLinker
Constructor and Description |
---|
DirectInstallLinker() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getJsInstallScript(LinkerContext context)
Returns the name of the
JsInstallScript script. |
protected boolean |
shouldInstallCode(LinkerContext context) |
fillSelectionScriptTemplate, getBooleanConfigurationProperty, getCompilationExtension, getDeferredFragmentSuffix, getDescription, getHostedFilename, getHostedFilenameFull, getJsComputeScriptBase, getJsComputeUrlForResource, getJsDevModeRedirectHook, getJsInstallLocation, getJsIsBodyLoaded, getJsLoadExternalStylesheets, getJsModuleFunctionErrorCatch, getJsPermutations, getJsProcessMetas, getJsProperties, getJsRunAsync, getJsWaitForBodyLoaded, getModulePrefix, getModuleSuffix, getScriptChunkSeparator, getSelectionScriptTemplate, getStringConfigurationProperty, includeJs, maybeAddHostedModeFile, maybeOutputPropertyMap, shouldIncludeBootstrapInPrimaryFragment, shouldUseSelfForWindowAndDocument, wrapDeferredFragment, wrapPrimaryFragment
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getFragmentSubdir, getModulePrefix, link, link, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
isShardable, relink
protected java.lang.String getJsInstallScript(LinkerContext context)
CrossSiteIframeLinker
JsInstallScript
script. By default,
returns "com/google/gwt/core/ext/linker/impl/installScriptEarlyDownload.js"
.
If you override this to return installScriptDirect.js
, then you
should also override CrossSiteIframeLinker.shouldInstallCode(LinkerContext)
to return
false
.
getJsInstallScript
in class CrossSiteIframeLinker
context
- a LinkerContextprotected boolean shouldInstallCode(LinkerContext context)
shouldInstallCode
in class CrossSiteIframeLinker