We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.metadata.
Class ConnectorBundleLoader
- java.lang.Object
-
- com.vaadin.client.metadata.ConnectorBundleLoader
-
public abstract class ConnectorBundleLoader extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectorBundleLoader.CValUiInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<ConnectorBundleLoader.CValUiInfo>
cvals
static String
DEFERRED_BUNDLE_NAME
static String
EAGER_BUNDLE_NAME
-
Constructor Summary
Constructors Constructor Description ConnectorBundleLoader()
-
Method Summary
All Methods Modifier and Type Method Description protected void
addAsyncBlockLoader(AsyncBundleLoader loader)
void
cval(String typeName)
void
ensureDeferredBundleLoaded()
Starts loading the deferred bundle if it hasn't already been started.
static ConnectorBundleLoader
get()
String
getBundleForIdentifier(String identifier)
List<String>
getLoadedBundles()
Gets a list of all currently loaded bundle names.
TypeDataStore
getTypeDataStore()
abstract void
init()
boolean
isBundleLoaded(String bundleName)
void
loadBundle(String packageName, BundleLoadCallback callback)
void
setLoaded(String packageName)
void
setLoadFailure(String bundleName, Throwable reason)
-
-
-
Field Detail
-
EAGER_BUNDLE_NAME
public static final String EAGER_BUNDLE_NAME
See Also:
-
DEFERRED_BUNDLE_NAME
public static final String DEFERRED_BUNDLE_NAME
See Also:
-
cvals
protected List<ConnectorBundleLoader.CValUiInfo> cvals
-
-
Method Detail
-
getTypeDataStore
public TypeDataStore getTypeDataStore()
-
get
public static ConnectorBundleLoader get()
-
loadBundle
public void loadBundle(String packageName, BundleLoadCallback callback)
-
isBundleLoaded
public boolean isBundleLoaded(String bundleName)
-
setLoaded
public void setLoaded(String packageName)
-
addAsyncBlockLoader
protected void addAsyncBlockLoader(AsyncBundleLoader loader)
-
init
public abstract void init()
-
cval
public void cval(String typeName)
-
ensureDeferredBundleLoaded
public void ensureDeferredBundleLoaded()
Starts loading the deferred bundle if it hasn't already been started.
Since:
8.0.3
-
-