com.gwtplatform.common.client
Class CodeSplitBundleProvider<T,B extends ProviderBundle>
java.lang.Object
com.gwtplatform.common.client.CodeSplitBundleProvider<T,B>
- Type Parameters:
T - The type of the provided object.B - The type of the ProviderBundle providing this object.
- All Implemented Interfaces:
- IndirectProvider<T>
public final class CodeSplitBundleProvider<T,B extends ProviderBundle>
- extends Object
- implements IndirectProvider<T>
Implements a IndirectProvider that uses code splitting for a specific
type. The object will be provided from a ProviderBundle.
- Author:
- Philippe Beaudoin
|
Method Summary |
void |
get(AsyncCallback<T> callback)
Asynchronously get the provided object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeSplitBundleProvider
public CodeSplitBundleProvider(AsyncProvider<B> bundleProvider,
int providerId)
- Construct a
IndirectProvider that implements code splitting for a
specific type. The object will be provided from a ProviderBundle.
- Parameters:
bundleProvider - The ProviderBundle providing the object.providerId - The identifier of the provided object, within the
ProviderBundle.
get
public void get(AsyncCallback<T> callback)
- Description copied from interface:
IndirectProvider
- Asynchronously get the provided object.
- Specified by:
get in interface IndirectProvider<T>
- 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.