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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetModulePrefix(TreeLogger logger, LinkerContext context, String strongName) protected StringgetModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) Methods inherited from class com.google.gwt.core.linker.IFrameLinker
getCompilationExtension, getHostedFilename, getModuleSuffix2, getScriptChunkSeparator, getSelectionScriptTemplate, link, modifyPrimaryJavaScriptMethods 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, wrapPrimaryFragmentMethods inherited from class com.google.gwt.core.ext.linker.AbstractLinker
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongNameMethods inherited from class com.google.gwt.core.ext.Linker
isShardable, relink
-
Constructor Details
-
SmartGwtDomainSyncLinker
public SmartGwtDomainSyncLinker()
-
-
Method Details
-
getDescription
- Overrides:
getDescriptionin classIFrameLinker
-
getModulePrefix
protected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) throws UnableToCompleteException - Overrides:
getModulePrefixin classIFrameLinker- Throws:
UnableToCompleteException
-
getModulePrefix
protected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) throws UnableToCompleteException - Overrides:
getModulePrefixin classIFrameLinker- Throws:
UnableToCompleteException
-