public class WebSpherePackageScanClassResolver extends DefaultPackageScanClassResolver
log
Constructor and Description |
---|
WebSpherePackageScanClassResolver(java.lang.String resourcePath)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Enumeration<java.net.URL> |
getResources(java.lang.ClassLoader loader,
java.lang.String packageName)
Overloaded to handle specific problem with getting resources on the IBM WebSphere platform.
|
static boolean |
isWebSphereClassLoader(java.lang.ClassLoader loader)
Is the classloader from IBM and thus the WebSphere platform?
|
addClassLoader, addFilter, addIfMatching, customResourceLocator, find, find, findByFilter, findImplementations, getClassLoaders, loadImplementationsInJar, removeFilter, setClassLoaders
public WebSpherePackageScanClassResolver(java.lang.String resourcePath)
resourcePath
- the fixed resource path to use for fetching camel jars in WebSphere.public static boolean isWebSphereClassLoader(java.lang.ClassLoader loader)
loader
- the classloaderprotected java.util.Enumeration<java.net.URL> getResources(java.lang.ClassLoader loader, java.lang.String packageName) throws java.io.IOException
getResources
in class DefaultPackageScanClassResolver
loader
- the classloaderpackageName
- the packagename for the package to loadjava.io.IOException
- is thrown by the classloader