com.google.gwt.user.client.impl
Class AsyncProxyBase<T>

java.lang.Object
  extended by com.google.gwt.user.client.impl.AsyncProxyBase<T>
Type Parameters:
T - the type to be returned from the GWT.create call
All Implemented Interfaces:
AsyncProxy<T>

public abstract class AsyncProxyBase<T>
extends java.lang.Object
implements AsyncProxy<T>

The base implementation for AsyncProxy instances.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.AsyncProxy
AsyncProxy.AllowNonVoid, AsyncProxy.ConcreteType, AsyncProxy.DefaultValue, AsyncProxy.ProxyCallback<T>
 
Constructor Summary
AsyncProxyBase()
           
 
Method Summary
 void enableLoadForTest0()
          Testing method to enable enqueue0 from firing the runAsync call.
 T getProxiedInstance()
          Returns the underlying proxied object if it has been instantiated or null.
abstract  void setProxyCallback(AsyncProxy.ProxyCallback<T> callback)
          To be implemented by the subtype.
 void suppressLoadForTest0()
          Testing method to prevent enqueue0 from actually firing the runAsync call.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncProxyBase

public AsyncProxyBase()
Method Detail

enableLoadForTest0

public void enableLoadForTest0()
Testing method to enable enqueue0 from firing the runAsync call.


getProxiedInstance

public final T getProxiedInstance()
Description copied from interface: AsyncProxy
Returns the underlying proxied object if it has been instantiated or null.

Specified by:
getProxiedInstance in interface AsyncProxy<T>

setProxyCallback

public abstract void setProxyCallback(AsyncProxy.ProxyCallback<T> callback)
To be implemented by the subtype.

Specified by:
setProxyCallback in interface AsyncProxy<T>

suppressLoadForTest0

public void suppressLoadForTest0()
Testing method to prevent enqueue0 from actually firing the runAsync call.