Package com.google.web.bindery.requestfactory.server
package com.google.web.bindery.requestfactory.server
Server-side classes for mediating between the client-side and the persistent
datastore.
This package contains classes that can receive client-side read and write
requests in the JSON format, perform the necessary operations on the
persistent datastore, and return the results in JSON format.
- Since:
- GWT 2.1
-
ClassDescriptionIndicates the user attempted to perform an operation on an irretrievable entity.Default implementation for handling exceptions thrown while processing a request.Handles an exception produced while processing a request.Allows the use of a very short operation name for the find method.Adds support to the ServiceLayer chain for using
Locator
andServiceLocator
helper objects.Server-side object that handles log messages sent byRequestFactoryLogHandler
.Pair<A,B> Simple pair class.Implements all methods that interact with domain objects.Encapsulates exceptions that should be thrown back to the client.Used to extract RequestFactory client jars fromgwt-user.jar
.An implementation ofRequestFactoryJarExtractor.Loader
that uses aClassLoader
to retrieve the class files.Describes a way to emit the contents of a classpath, typically into a JAR or filesystem directory.Improves error messages by providing context for the user.An Emitter implementation that creates a jar file.Abstracts the mechanism by which class files are loaded.Controls what is emitted by the tool.Handles GWT RequestFactory JSON requests.Encapsulates all state relating to the processing of a single request so that the SimpleRequestProcessor can be stateless.Responsible for converting between domain and client entities.Implements all of the resolution methods in ServiceLayer.The ServiceLayer mediates all interactions between theSimpleRequestProcessor
and the domain environment.A cache for idempotent methods inServiceLayer
.Users that intend to alter how RequestFactory interacts with the domain environment can extend this type and provide it toServiceLayer.create(ServiceLayerDecorator...)
.Processes request payloads from a RequestFactory client.This parameterization is so long, it improves readability to have a specific type.Encapsulates exceptions that indicate something went wrong in RequestFactory code.