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.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
(package private) class
-
Field Summary
Fields inherited from interface com.google.web.bindery.requestfactory.shared.RequestFactory
JSON_CONTENT_TYPE_UTF8
-
Constructor Summary
ConstructorDescriptionInProcessRequestFactory
(Class<? extends RequestFactory> requestFactoryInterface) -
Method Summary
Modifier and TypeMethodDescriptionprotected AutoBeanFactory
Implementations of EntityProxies are provided by an AutoBeanFactory, which is itself a generated type.com.google.web.bindery.requestfactory.vm.impl.Deobfuscator
Returns a type token for the RequestFactory instance, which is used to seed operation and type token resolution on the server.getTypeFromToken
(String typeToken) protected String
getTypeToken
(Class<? extends BaseProxy> clazz) void
initialize
(EventBus eventBus) The choice of a default request transport is runtime-specific.boolean
isEntityType
(Class<?> clazz) boolean
isValueType
(Class<?> clazz) Methods inherited from class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
find, getEventBus, getHistoryToken, getHistoryToken, getProxyClass, getProxyId, getRequestTransport, getSerializer, hasVersionChanged, initialize
Methods inherited from class com.google.web.bindery.requestfactory.shared.impl.IdFactory
allocateId, allocateSyntheticId, asEntityProxy, asValueProxy, getBaseProxyId, getHistoryToken, getId, getId, getId
-
Constructor Details
-
InProcessRequestFactory
-
-
Method Details
-
getDeobfuscator
public com.google.web.bindery.requestfactory.vm.impl.Deobfuscator getDeobfuscator() -
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 classcom.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
-
isEntityType
- Specified by:
isEntityType
in classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
isValueType
- Specified by:
isValueType
in classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
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 theAbstractRequestFactory.find(EntityProxyId)
andAbstractRequestFactory.getSerializer(ProxyStore)
were provided byAbstractRequestContext
, this method could be removed.- Specified by:
getAutoBeanFactory
in classcom.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
-
getTypeFromToken
- Specified by:
getTypeFromToken
in classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
getTypeToken
- Specified by:
getTypeToken
in classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-