public class IocContainerRebind extends AbstractProxyCreator
AbstractProxyCreator.SourcePrinter| Modifier and Type | Field and Description |
|---|---|
protected Map<String,IocConfig<?>> |
configurations |
protected DeviceAdaptive.Device |
device |
protected com.google.gwt.core.ext.typeinfo.JClassType |
remoteServiceType |
protected View |
view |
protected com.google.gwt.core.ext.typeinfo.JClassType |
viewBindableType |
cacheable, cacheableVersionFound, context, logger| Constructor and Description |
|---|
IocContainerRebind(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
View view,
String device) |
| Modifier and Type | Method and Description |
|---|---|
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 |
generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter) |
protected String[] |
getImports() |
String |
getProxyQualifiedName() |
String |
getProxySimpleName() |
protected AbstractProxyCreator.SourcePrinter |
getSourcePrinter() |
static void |
injectFieldsAndMethods(AbstractProxyCreator.SourcePrinter srcWriter,
com.google.gwt.core.ext.typeinfo.JClassType type,
String parentVariable,
String iocContainerVariable,
View view,
DeviceAdaptive.Device device) |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyFields, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessageprotected final View view
protected com.google.gwt.core.ext.typeinfo.JClassType viewBindableType
protected com.google.gwt.core.ext.typeinfo.JClassType remoteServiceType
protected DeviceAdaptive.Device device
protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter) throws CruxGeneratorException
generateProxyMethods in class AbstractProxyCreatorCruxGeneratorExceptionprotected void generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter) throws CruxGeneratorException
AbstractProxyCreatorRemoteService.generateProxyContructor in class AbstractProxyCreatorCruxGeneratorExceptionpublic static void injectFieldsAndMethods(AbstractProxyCreator.SourcePrinter srcWriter, com.google.gwt.core.ext.typeinfo.JClassType type, String parentVariable, String iocContainerVariable, View view, DeviceAdaptive.Device device)
srcWriter - type - parentVariable - iocContainerVariable - view - device - public String getProxyQualifiedName()
getProxyQualifiedName in class AbstractProxyCreatorpublic String getProxySimpleName()
getProxySimpleName in class AbstractProxyCreatorprotected AbstractProxyCreator.SourcePrinter getSourcePrinter()
getSourcePrinter in class AbstractProxyCreatorprotected String[] getImports()
Copyright © 2015. All rights reserved.