T
- The type of the provided object.B
- The type of the ProviderBundle
providing this object.public final class CodeSplitBundleProvider<T,B extends ProviderBundle> extends Object implements IndirectProvider<T>
IndirectProvider
that uses code splitting for a specific
type. The object will be provided from a ProviderBundle
.Constructor and Description |
---|
CodeSplitBundleProvider(AsyncProvider<B> bundleProvider,
int providerId)
Construct a
IndirectProvider that implements code splitting for a
specific type. |
public CodeSplitBundleProvider(AsyncProvider<B> bundleProvider, int providerId)
IndirectProvider
that implements code splitting for a
specific type. The object will be provided from a ProviderBundle
.bundleProvider
- The ProviderBundle
providing the object.providerId
- The identifier of the provided object, within the
ProviderBundle
.public void get(AsyncCallback<T> callback)
IndirectProvider
get
in interface IndirectProvider<T>
callback
- The AsyncCallback
to invoke once the object is
available. The parameter to the callback will be the provided
object.Copyright © 2010-2014 ArcBees. All Rights Reserved.