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 SummaryFields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkerCOMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.IFrameLinkergetCompilationExtension, getHostedFilename, getModuleSuffix2, getScriptChunkSeparator, getSelectionScriptTemplate, link, modifyPrimaryJavaScriptMethods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinkercharsPerChunk, 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.AbstractLinkeremitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongNameMethods inherited from class com.google.gwt.core.ext.LinkerisShardable, relink
- 
Constructor Details- 
SmartGwtDomainSyncLinkerpublic SmartGwtDomainSyncLinker()
 
- 
- 
Method Details- 
getDescription- Overrides:
- getDescriptionin class- IFrameLinker
 
- 
getModulePrefixprotected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName) throws UnableToCompleteException - Overrides:
- getModulePrefixin class- IFrameLinker
- Throws:
- UnableToCompleteException
 
- 
getModulePrefixprotected String getModulePrefix(TreeLogger logger, LinkerContext context, String strongName, int numFragments) throws UnableToCompleteException - Overrides:
- getModulePrefixin class- IFrameLinker
- Throws:
- UnableToCompleteException
 
 
-