Package 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 classConnectorBundleLoader.CValUiInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<ConnectorBundleLoader.CValUiInfo>cvalsstatic StringDEFERRED_BUNDLE_NAMEstatic StringEAGER_BUNDLE_NAME
-
Constructor Summary
Constructors Constructor Description ConnectorBundleLoader()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddAsyncBlockLoader(AsyncBundleLoader loader)voidcval(String typeName)voidensureDeferredBundleLoaded()Starts loading the deferred bundle if it hasn't already been started.static ConnectorBundleLoaderget()StringgetBundleForIdentifier(String identifier)List<String>getLoadedBundles()Gets a list of all currently loaded bundle names.TypeDataStoregetTypeDataStore()abstract voidinit()booleanisBundleLoaded(String bundleName)voidloadBundle(String packageName, BundleLoadCallback callback)voidsetLoaded(String packageName)voidsetLoadFailure(String bundleName, Throwable reason)
-
-
-
Field Detail
-
EAGER_BUNDLE_NAME
public static final String EAGER_BUNDLE_NAME
- See Also:
- Constant Field Values
-
DEFERRED_BUNDLE_NAME
public static final String DEFERRED_BUNDLE_NAME
- See Also:
- Constant Field Values
-
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
-
-