Class HandlerHelperUtil


  • public final class HandlerHelperUtil
    extends java.lang.Object
    Utility methods for helpers which shall not be exposed as API.
    Author:
    jfaltermeier
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.lang.Class<T> loadClass​(java.lang.String bundleName, java.lang.String clazz)
      Loads the specified class from the given bundle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadClass

        public static <T> java.lang.Class<T> loadClass​(java.lang.String bundleName,
                                                       java.lang.String clazz)
                                                throws java.lang.ClassNotFoundException
        Loads the specified class from the given bundle.
        Type Parameters:
        T - the type of the class to load
        Parameters:
        bundleName - the bundle name
        clazz - the class name
        Returns:
        the loaded class
        Throws:
        java.lang.ClassNotFoundException - in case the class could not be loaded