org.cruxframework.crux.core.rebind.ioc
Class RuntimeContainerProxyCreator
java.lang.Object
org.cruxframework.crux.core.rebind.AbstractProxyCreator
org.cruxframework.crux.core.rebind.ioc.IocContainerRebind
org.cruxframework.crux.core.rebind.ioc.RuntimeContainerProxyCreator
public class RuntimeContainerProxyCreator
- extends IocContainerRebind
- Author:
- Thiago da Rosa de Bustamante
|
Constructor Summary |
RuntimeContainerProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext ctx,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf)
|
| Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator |
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeContainerProxyCreator
public RuntimeContainerProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext ctx,
com.google.gwt.core.ext.typeinfo.JClassType baseIntf)
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
generateProxyContructor
protected void generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter)
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 IocContainerRebind
- Throws:
CruxGeneratorException
generateProxyMethods
protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter)
throws CruxGeneratorException
- Overrides:
generateProxyMethods in class IocContainerRebind
- Throws:
CruxGeneratorException
generateGetMethod
protected void generateGetMethod(AbstractProxyCreator.SourcePrinter srcWriter)
generateGetScopedMethod
protected void generateGetScopedMethod(AbstractProxyCreator.SourcePrinter srcWriter)
getImports
protected String[] getImports()
- Overrides:
getImports in class IocContainerRebind
- Returns:
getSourcePrinter
protected AbstractProxyCreator.SourcePrinter getSourcePrinter()
- Overrides:
getSourcePrinter in class IocContainerRebind
- Returns:
- a sourceWriter for the proxy class
Copyright © 2014. All rights reserved.