org.springframework.scheduling.quartz

Class ResourceLoaderClassLoadHelper

  • java.lang.Object
    • org.springframework.scheduling.quartz.ResourceLoaderClassLoadHelper
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static Log logger 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.ClassLoader getClassLoader() 
      java.net.URL getResource(java.lang.String name) 
      java.io.InputStream getResourceAsStream(java.lang.String name) 
      void initialize() 
      java.lang.Class<?> loadClass(java.lang.String name) 
      <T> java.lang.Class<? extends T> loadClass(java.lang.String name, java.lang.Class<T> clazz) 
      • Methods inherited from class java.lang.Object

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

      • logger

        protected static final Log logger
    • Constructor Detail

      • ResourceLoaderClassLoadHelper

        public ResourceLoaderClassLoadHelper(@Nullable
                                             ResourceLoader resourceLoader)
        Create a new ResourceLoaderClassLoadHelper for the given ResourceLoader.
        Parameters:
        resourceLoader - the ResourceLoader to delegate to
    • Method Detail

      • loadClass

        public java.lang.Class<?> loadClass(java.lang.String name)
                                     throws java.lang.ClassNotFoundException
        Specified by:
        loadClass in interface ClassLoadHelper
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        public <T> java.lang.Class<? extends T> loadClass(java.lang.String name,
                                                          java.lang.Class<T> clazz)
                                                   throws java.lang.ClassNotFoundException
        Specified by:
        loadClass in interface ClassLoadHelper
        Throws:
        java.lang.ClassNotFoundException