Class ReflectionUtils


  • public final class ReflectionUtils
    extends java.lang.Object
    Utilities used for reflective access required to cast notifications to correct types
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class[] getClasses​(java.lang.String packageName)
      Scans all classes accessible from the context class loader which belong to the given package and subpackages.
      • Methods inherited from class java.lang.Object

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

      • getClasses

        public static java.lang.Class[] getClasses​(java.lang.String packageName)
                                            throws java.lang.ClassNotFoundException,
                                                   java.io.IOException,
                                                   java.net.URISyntaxException
        Scans all classes accessible from the context class loader which belong to the given package and subpackages.
        Parameters:
        packageName - The base package
        Returns:
        The classes
        Throws:
        java.lang.ClassNotFoundException
        java.io.IOException
        java.net.URISyntaxException