public class ResourceLoaderClassLoadHelper extends ObjectSE implements ClassLoadHelper
ClassLoadHelper
インターフェースから Spring の ResourceLoader
インターフェースに適応するラッパー。SchedulerFactoryBean が Spring ApplicationContext で実行されるときにデフォルトで使用されます。SchedulerFactoryBean.setApplicationContext(org.springframework.context.ApplicationContext)
コンストラクターと説明 |
---|
ResourceLoaderClassLoadHelper() デフォルトの ResourceLoader の新しい ResourceLoaderClassLoadHelper を作成します。 |
ResourceLoaderClassLoadHelper(ResourceLoader resourceLoader) 指定された ResourceLoader の新しい ResourceLoaderClassLoadHelper を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ClassLoaderSE | getClassLoader() |
URLSE | getResource(StringSE name) |
InputStreamSE | getResourceAsStream(StringSE name) |
void | initialize() |
ClassSE<?> | loadClass(StringSE name) |
<T> ClassSE<? extends T> | loadClass(StringSE name, ClassSE<T> clazz) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected static final Log logger
public ResourceLoaderClassLoadHelper()
public ResourceLoaderClassLoadHelper(@Nullable ResourceLoader resourceLoader)
resourceLoader
- 委譲する ResourceLoaderpublic void initialize()
ClassLoadHelper
の initialize
public ClassSE<?> loadClass(StringSE name) throws ClassNotFoundExceptionSE
ClassLoadHelper
の loadClass
ClassNotFoundExceptionSE
public <T> ClassSE<? extends T> loadClass(StringSE name, ClassSE<T> clazz) throws ClassNotFoundExceptionSE
ClassLoadHelper
の loadClass
ClassNotFoundExceptionSE
@Nullable public URLSE getResource(StringSE name)
ClassLoadHelper
の getResource
@Nullable public InputStreamSE getResourceAsStream(StringSE name)
ClassLoadHelper
の getResourceAsStream
public ClassLoaderSE getClassLoader()
ClassLoadHelper
の getClassLoader