Class InProcessRequestFactory

java.lang.Object
com.google.web.bindery.requestfactory.shared.impl.IdFactory
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
com.google.web.bindery.requestfactory.vm.InProcessRequestFactory
All Implemented Interfaces:
RequestFactory

class InProcessRequestFactory extends com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
A JRE-compatible implementation of RequestFactory.
  • Constructor Details

    • InProcessRequestFactory

      public InProcessRequestFactory(Class<? extends RequestFactory> requestFactoryInterface)
  • Method Details

    • getDeobfuscator

      public com.google.web.bindery.requestfactory.vm.impl.Deobfuscator getDeobfuscator()
    • getFactoryTypeToken

      public String getFactoryTypeToken()
      Description copied from class: com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
      Returns a type token for the RequestFactory instance, which is used to seed operation and type token resolution on the server.
      Specified by:
      getFactoryTypeToken in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
    • initialize

      public void initialize(EventBus eventBus)
      Description copied from class: com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
      The choice of a default request transport is runtime-specific.
      Specified by:
      initialize in interface RequestFactory
      Specified by:
      initialize in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
      Parameters:
      eventBus - an EventBus
    • isEntityType

      public boolean isEntityType(Class<?> clazz)
      Specified by:
      isEntityType in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
    • isValueType

      public boolean isValueType(Class<?> clazz)
      Specified by:
      isValueType in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
    • getAutoBeanFactory

      protected AutoBeanFactory getAutoBeanFactory()
      Description copied from class: com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
      Implementations of EntityProxies are provided by an AutoBeanFactory, which is itself a generated type. This method knows about all proxy types used in the RequestFactory interface, which prevents pruning of any proxy type. If the AbstractRequestFactory.find(EntityProxyId) and AbstractRequestFactory.getSerializer(ProxyStore) were provided by AbstractRequestContext, this method could be removed.
      Specified by:
      getAutoBeanFactory in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
    • getTypeFromToken

      protected <P extends BaseProxy> Class<P> getTypeFromToken(String typeToken)
      Specified by:
      getTypeFromToken in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
    • getTypeToken

      protected String getTypeToken(Class<? extends BaseProxy> clazz)
      Specified by:
      getTypeToken in class com.google.web.bindery.requestfactory.shared.impl.IdFactory