com.gwtplatform.common.client
Interface IndirectProvider<T>

Type Parameters:
T - The type of the provided object.
All Known Implementing Classes:
CodeSplitBundleProvider, CodeSplitProvider, StandardProvider

public interface IndirectProvider<T>

Act as a Provider, but instead of returning the provided object, the user must pass a callback in which the object is handled. This makes it possible to use the Provider for code-splitting. This feature should be available in a later release of GIN. See GIN Issue 61 for details.

Author:
Philippe Beaudoin

Method Summary
 void get(AsyncCallback<T> callback)
          Asynchronously get the provided object.
 

Method Detail

get

void get(AsyncCallback<T> callback)
Asynchronously get the provided object.

Parameters:
callback - The AsyncCallback to invoke once the object is available. The parameter to the callback will be the provided object.


Copyright © 2010-2011 ArcBees. All Rights Reserved.