public class ControllerProxyCreator extends AbstractProxyCreator
AbstractProxyCreator.SourcePrinter| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROLLER_PROXY_SUFFIX |
static String |
EXPOSED_METHOD_SUFFIX |
cacheable, cacheableVersionFound, context, logger| Constructor and Description |
|---|
ControllerProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType controllerClass)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateGetViewMethod(AbstractProxyCreator.SourcePrinter srcWriter) |
protected void |
generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter)
Generate the proxy constructor and delegate to the superclass constructor
using the default address for the
RemoteService. |
protected void |
generateProxyExposedMethodSignature(AbstractProxyCreator.SourcePrinter w,
com.google.gwt.dev.generator.NameFactory nameFactory,
com.google.gwt.core.ext.typeinfo.JMethod method)
Generates the signature for the exposed method
|
protected void |
generateProxyFields(AbstractProxyCreator.SourcePrinter srcWriter)
Generate any fields required by the proxy.
|
protected void |
generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter) |
protected String[] |
getImports() |
String |
getProxyQualifiedName() |
String |
getProxySimpleName() |
protected AbstractProxyCreator.SourcePrinter |
getSourcePrinter() |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessagepublic static final String CONTROLLER_PROXY_SUFFIX
public static final String EXPOSED_METHOD_SUFFIX
public ControllerProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType controllerClass)
logger - context - crossDocumentIntf - protected void generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter)
AbstractProxyCreatorRemoteService.generateProxyContructor in class AbstractProxyCreatororg.cruxframework.crux.core.rebind.AbstractProxyCreator#generateProxyContructor(com.google.gwt.user.rebind.SourcePrinter)protected void generateProxyFields(AbstractProxyCreator.SourcePrinter srcWriter) throws CruxGeneratorException
AbstractProxyCreatorgenerateProxyFields in class AbstractProxyCreatorCruxGeneratorExceptionorg.cruxframework.crux.core.rebind.AbstractProxyCreator#generateProxyFields(com.google.gwt.user.rebind.SourcePrinter)protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter)
generateProxyMethods in class AbstractProxyCreatorprotected void generateGetViewMethod(AbstractProxyCreator.SourcePrinter srcWriter)
srcWriter - protected String[] getImports()
public String getProxyQualifiedName()
getProxyQualifiedName in class AbstractProxyCreatorpublic String getProxySimpleName()
getProxySimpleName in class AbstractProxyCreatorprotected AbstractProxyCreator.SourcePrinter getSourcePrinter()
getSourcePrinter in class AbstractProxyCreatorprotected void generateProxyExposedMethodSignature(AbstractProxyCreator.SourcePrinter w, com.google.gwt.dev.generator.NameFactory nameFactory, com.google.gwt.core.ext.typeinfo.JMethod method)
w - nameFactory - method - Copyright © 2015. All rights reserved.