Class TypeLoaderImpl

    • Field Detail

      • DEFAULT_INSTANCE

        public static final TypeLoader DEFAULT_INSTANCE
      • SILENT_INSTANCE

        public static final TypeLoader SILENT_INSTANCE
    • Constructor Detail

      • TypeLoaderImpl

        public TypeLoaderImpl​(java.lang.ClassLoader loader)
      • TypeLoaderImpl

        public TypeLoaderImpl()
    • Method Detail

      • load

        public static java.lang.Class load​(ClassDescriptor cd,
                                           java.lang.ClassLoader loader,
                                           deltix.util.lang.ExceptionHandler handler)
                                    throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • handle

        public void handle​(java.lang.Throwable x)
        Specified by:
        handle in interface deltix.util.lang.ExceptionHandler
      • handle

        public void handle​(ClassDescriptor cd,
                           java.lang.ClassNotFoundException e)
      • load

        public java.lang.Class load​(ClassDescriptor cd)
                             throws java.lang.ClassNotFoundException
        Specified by:
        load in interface TypeLoader
        Returns:
        Class for type specified by given descriptor (never null). Implementation of this function must return the same class for identical class descriptors (i.e. must be "pure function").
        Throws:
        java.lang.ClassNotFoundException
      • load

        public java.lang.Class<?> load​(ClassDescriptor cd,
                                       deltix.util.lang.ExceptionHandler handler)
                                throws java.lang.ClassNotFoundException
        Specified by:
        load in interface RegularTypeLoader
        Returns:
        Class for type specified by given descriptor (never null). Implementation of this function must return the same class for identical class descriptors (i.e. must be "pure function").
        Throws:
        java.lang.ClassNotFoundException
      • getClassLoader

        public java.lang.ClassLoader getClassLoader()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object