Class CurrentThreadClassLoadingStrategy

  • All Implemented Interfaces:
    ClassLoadingStrategy

    public class CurrentThreadClassLoadingStrategy
    extends java.lang.Object
    implements ClassLoadingStrategy

    This class loading strategy uses the current thread's ClassLoader to load a class from a fully qualified name.

    • Constructor Detail

      • CurrentThreadClassLoadingStrategy

        public CurrentThreadClassLoadingStrategy()
    • Method Detail

      • classForName

        public java.lang.Class<?> classForName​(java.lang.String className)
                                        throws java.lang.ClassNotFoundException
        Specified by:
        classForName in interface ClassLoadingStrategy
        Throws:
        java.lang.ClassNotFoundException