Package com.smartgwt.linker
Class SmartGwtDomainSyncLinker
java.lang.Object
com.google.gwt.core.ext.Linker
com.google.gwt.core.ext.linker.AbstractLinker
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
com.google.gwt.core.linker.IFrameLinker
com.smartgwt.linker.SmartGwtDomainSyncLinker
Linker that inject domain sync Javascript to bypass same-origin policy restrictions on scripts
deployed on different subdomains under the same parent domain (eg. a portal environment)
-
Field Summary
Fields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName) protected String
getModulePrefix
(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Methods inherited from class com.google.gwt.core.linker.IFrameLinker
getCompilationExtension, getHostedFilename, getModuleSuffix2, getScriptChunkSeparator, getSelectionScriptTemplate, link, modifyPrimaryJavaScript
Methods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix2, getFragmentSubdir, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapDeferredFragment, wrapPrimaryFragment
Methods inherited from class com.google.gwt.core.ext.linker.AbstractLinker
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
Methods inherited from class com.google.gwt.core.ext.Linker
isShardable, relink
-
Constructor Details
-
SmartGwtDomainSyncLinker
public SmartGwtDomainSyncLinker()
-
-
Method Details
-
getDescription
- Overrides:
getDescription
in classIFrameLinker
-
getModulePrefix
protected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) throws UnableToCompleteException - Overrides:
getModulePrefix
in classIFrameLinker
- Throws:
UnableToCompleteException
-
getModulePrefix
protected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) throws UnableToCompleteException - Overrides:
getModulePrefix
in classIFrameLinker
- Throws:
UnableToCompleteException
-