public abstract class FetchPOJOCallback
extends java.lang.Object
implements com.google.gwt.user.client.rpc.AsyncCallback
Callback for fetching an input JavaBean from the server. Handles deserializing the returned object. Returned object must be of type IsSerializable.
The posssible onFailure()
exceptions that can be returned
if there is a problem include:
BeanTransferException
where there is a server-side problem
fetching the JavaBean.Constructor and Description |
---|
FetchPOJOCallback() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFetchPOJOSuccess(com.google.gwt.user.client.rpc.IsSerializable result)
Implement this method to process response from RPC.
|
void |
onSuccess(java.lang.Object result) |
public abstract void onFetchPOJOSuccess(com.google.gwt.user.client.rpc.IsSerializable result)
result
- Returns POJO object.public final void onSuccess(java.lang.Object result)
onSuccess
in interface com.google.gwt.user.client.rpc.AsyncCallback
Copyright © Grand Logic, Inc. All Rights Reserved.