org.cruxframework.crux.core.rebind.datasource
Class RegisteredDataSourcesProxyCreator
java.lang.Object
org.cruxframework.crux.core.rebind.AbstractProxyCreator
org.cruxframework.crux.core.rebind.AbstractInterfaceWrapperProxyCreator
org.cruxframework.crux.core.rebind.datasource.RegisteredDataSourcesProxyCreator
public class RegisteredDataSourcesProxyCreator
- extends AbstractInterfaceWrapperProxyCreator
Generates a RegisteredControllers class.
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisteredDataSourcesProxyCreator
public RegisteredDataSourcesProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
View view,
String iocContainerClassName,
String device)
generateProxyMethods
protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter sourceWriter)
throws CruxGeneratorException
- Overrides:
generateProxyMethods in class AbstractProxyCreator
- Throws:
CruxGeneratorException
generateProxyContructor
protected void generateProxyContructor(AbstractProxyCreator.SourcePrinter sourceWriter)
throws CruxGeneratorException
- Description copied from class:
AbstractProxyCreator
- Generate the proxy constructor and delegate to the superclass constructor
using the default address for the
RemoteService.
- Overrides:
generateProxyContructor in class AbstractProxyCreator
- Throws:
CruxGeneratorException
generateSubTypes
protected void generateSubTypes(AbstractProxyCreator.SourcePrinter srcWriter)
throws CruxGeneratorException
- Description copied from class:
AbstractProxyCreator
- Override this method to generate any nested type required by the proxy
- Overrides:
generateSubTypes in class AbstractProxyCreator
- Throws:
CruxGeneratorException
generateProxyFields
protected void generateProxyFields(AbstractProxyCreator.SourcePrinter srcWriter)
throws CruxGeneratorException
- Description copied from class:
AbstractProxyCreator
- Generate any fields required by the proxy.
- Overrides:
generateProxyFields in class AbstractProxyCreator
- Throws:
CruxGeneratorException
getImports
protected String[] getImports()
- Specified by:
getImports in class AbstractInterfaceWrapperProxyCreator
- Returns:
getProxySimpleName
public String getProxySimpleName()
- Overrides:
getProxySimpleName in class AbstractInterfaceWrapperProxyCreator
- Returns:
- the simple name of the proxy object.
Copyright © 2014. All rights reserved.