Package org.jppf.classloader
Class ResourceProviderImpl
java.lang.Object
org.jppf.classloader.AbstractResourceProvider
org.jppf.classloader.ResourceProviderImpl
- All Implemented Interfaces:
ResourceProvider
Instances of this class are dedicated to reading resource files form the JVM's classpath and converting them into arrays of bytes.
- Author:
- Laurent Cohen, Domingos Creado
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassLoaderresolveClassLoader(ClassLoader classloader) Resolve the class loader to use for getting resources from the classpath.Methods inherited from class org.jppf.classloader.AbstractResourceProvider
computeCallable, getMultipleResourcesAsBytes, getMultipleResourcesAsBytes, getMultipleResourcesAsBytes, getMultipleResourcesAsBytes, getResource, getResource, getResource
-
Constructor Details
-
ResourceProviderImpl
public ResourceProviderImpl()Default constructor.
-
-
Method Details
-
resolveClassLoader
Description copied from class:AbstractResourceProviderResolve the class loader to use for getting resources from the classpath.- Specified by:
resolveClassLoaderin classAbstractResourceProvider- Parameters:
classloader- the initial clss loader.- Returns:
- the resolved class loader.
-