Package | Description |
---|---|
com.google.web.bindery.autobean.shared |
The AutoBean framework provides automatically-generated implementations of
bean-like interfaces and a low-level serialization mechanism for those
interfaces.
|
com.google.web.bindery.autobean.vm |
Contains JVM-compatible implementations of the AutoBean framework.
|
com.google.web.bindery.requestfactory.server |
Server-side classes for mediating between the client-side and the persistent
datastore.
|
com.google.web.bindery.requestfactory.shared.messages |
Contains classes that define the RequestFactory wire format.
|
com.google.web.bindery.requestfactory.vm |
Classes to use RequestFactory in a non-GWT (e.g., Android or desktop) JRE
environment.
|
Modifier and Type | Method and Description |
---|---|
AutoBean<T> |
AutoBean.clone(boolean deep)
Deprecated.
with no replacement
|
<T> AutoBean<T> |
AutoBeanFactory.create(java.lang.Class<T> clazz)
Allows dynamic creation of AutoBean instances based on declared
parameterizations.
|
<T,U extends T> |
AutoBeanFactory.create(java.lang.Class<T> clazz,
U delegate)
Allows dynamic creation of wrapped AutoBean instances based on declared
parameterizations.
|
static <T> AutoBean<T> |
AutoBeanCodex.decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
Splittable data)
Decode an AutoBeanCodex payload.
|
static <T> AutoBean<T> |
AutoBeanCodex.decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
java.lang.String payload)
Decode an AutoBeanCodex payload.
|
static <T,U extends T> |
AutoBeanUtils.getAutoBean(U delegate)
Return the single AutoBean wrapper that is observing the delegate object or
null if the parameter is null or not wrapped by an AutoBean. |
Modifier and Type | Method and Description |
---|---|
static void |
AutoBeanCodex.decodeInto(Splittable data,
AutoBean<?> bean)
Copy data from a
Splittable into an AutoBean. |
static boolean |
AutoBeanUtils.deepEquals(AutoBean<?> a,
AutoBean<?> b)
Compare two graphs of AutoBeans based on values.
|
static boolean |
AutoBeanUtils.deepEquals(AutoBean<?> a,
AutoBean<?> b)
Compare two graphs of AutoBeans based on values.
|
static java.util.Map<java.lang.String,java.lang.Object> |
AutoBeanUtils.diff(AutoBean<?> a,
AutoBean<?> b)
Returns a map of properties that differ (via
Object.equals(Object) )
between two AutoBeans. |
static java.util.Map<java.lang.String,java.lang.Object> |
AutoBeanUtils.diff(AutoBean<?> a,
AutoBean<?> b)
Returns a map of properties that differ (via
Object.equals(Object) )
between two AutoBeans. |
static Splittable |
AutoBeanCodex.encode(AutoBean<?> bean)
Encodes an AutoBean.
|
void |
AutoBeanVisitor.endVisit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
Called after visiting an
AutoBean . |
void |
AutoBeanVisitor.endVisitCollectionProperty(java.lang.String propertyName,
AutoBean<java.util.Collection<?>> value,
AutoBeanVisitor.CollectionPropertyContext ctx)
Called after visiting a reference property.
|
void |
AutoBeanVisitor.endVisitMapProperty(java.lang.String propertyName,
AutoBean<java.util.Map<?,?>> value,
AutoBeanVisitor.MapPropertyContext ctx)
Called after visiting a reference property.
|
void |
AutoBeanVisitor.endVisitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
Called after visiting a reference property.
|
static java.util.Map<java.lang.String,java.lang.Object> |
AutoBeanUtils.getAllProperties(AutoBean<?> bean)
Returns a map that is a copy of the properties contained in an AutoBean.
|
boolean |
AutoBeanVisitor.visit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
Called when visiting an
AutoBean . |
boolean |
AutoBeanVisitor.visitCollectionProperty(java.lang.String propertyName,
AutoBean<java.util.Collection<?>> value,
AutoBeanVisitor.CollectionPropertyContext ctx)
Called every time, but
AutoBeanVisitor.visit(AutoBean, Context) will be called for
the value only the first time it is encountered. |
boolean |
AutoBeanVisitor.visitMapProperty(java.lang.String propertyName,
AutoBean<java.util.Map<?,?>> value,
AutoBeanVisitor.MapPropertyContext ctx)
Called every time, but
AutoBeanVisitor.visit(AutoBean, Context) will be called for
the value only the first time it is encountered. |
boolean |
AutoBeanVisitor.visitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
Called every time, but
AutoBeanVisitor.visit(AutoBean, Context) will be called for
the value only the first time it is encountered. |
Modifier and Type | Method and Description |
---|---|
static <T> AutoBean<T> |
AutoBeanFactorySource.createBean(java.lang.Class<T> clazz,
Configuration configuration)
Create an instance of an AutoBean directly.
|
Modifier and Type | Method and Description |
---|---|
<Q extends BaseProxy> |
RequestState.getBeanForPayload(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<Q> id,
java.lang.Object domainObject)
Get or create a BaseProxy AutoBean for the given id.
|
<Q extends BaseProxy> |
RequestState.getBeanForPayload(Splittable serializedProxyId)
EntityCodex support.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AutoBean<? extends BaseProxy>> |
RequestState.getBeansForPayload(java.util.List<? extends IdMessage> idMessages)
Get or create BaseProxy AutoBeans for a list of id-bearing messages.
|
Modifier and Type | Method and Description |
---|---|
AutoBean<ServerFailureMessage> |
MessageFactory.failure() |
AutoBean<IdMessage> |
MessageFactory.id() |
AutoBean<InvocationMessage> |
MessageFactory.invocation() |
AutoBean<JsonRpcRequest> |
MessageFactory.jsonRpcRequest() |
AutoBean<OperationMessage> |
MessageFactory.operation() |
AutoBean<RequestMessage> |
MessageFactory.request() |
AutoBean<ResponseMessage> |
MessageFactory.response() |
AutoBean<ViolationMessage> |
MessageFactory.violation() |
Modifier and Type | Method and Description |
---|---|
protected <T extends BaseProxy> |
InProcessRequestContext.createProxy(java.lang.Class<T> clazz,
com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<T> id,
boolean useAppendedContexts) |