Class ConnectorBundleLoader


  • public abstract class ConnectorBundleLoader
    extends Object
    • Constructor Detail

      • ConnectorBundleLoader

        public ConnectorBundleLoader()
    • Method Detail

      • isBundleLoaded

        public boolean isBundleLoaded​(String bundleName)
      • setLoaded

        public void setLoaded​(String packageName)
      • setLoadFailure

        public void setLoadFailure​(String bundleName,
                                   Throwable reason)
      • getBundleForIdentifier

        public String getBundleForIdentifier​(String identifier)
      • 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
      • getLoadedBundles

        public List<String> getLoadedBundles()
        Gets a list of all currently loaded bundle names.

        This method is intended for testing the loading mechanism.

        Returns:
        a list of bundles, not null
        Since:
        8.0.3