Class OsgiUtil

  • public final class OsgiUtil
    extends Object
    • Method Detail

      • loadClass

        public static <T> Class<T> loadClass​(String className)
                                      throws ClassNotFoundException
        Tries to load a class under OSGI environment. It will attempt to load the class from all Liquibase bundles registered via Activator.
        Type Parameters:
        T - the type of the class to load
        className - the name of the class to load
        the loaded class
        ClassNotFoundException - if the class could not be found