public class WebSpherePackageScanClassResolver extends DefaultPackageScanClassResolver
acceptableSchemes, log| Constructor and Description |
|---|
WebSpherePackageScanClassResolver(String resourcePath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Enumeration<URL> |
getResources(ClassLoader loader,
String packageName)
Overloaded to handle specific problem with getting resources on the IBM WebSphere platform.
|
static boolean |
isWebSphereClassLoader(ClassLoader loader)
Is the classloader from IBM and thus the WebSphere platform?
|
addFilter, addIfMatching, clearCache, doLoadJarClassEntries, doStart, doStop, find, find, findAnnotated, findAnnotated, findByFilter, findImplementations, removeFilteraddClassLoader, customResourceLocator, getCamelContext, getClassLoaders, isAcceptableScheme, setAcceptableSchemes, setCamelContextbuild, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic WebSpherePackageScanClassResolver(String resourcePath)
resourcePath - the fixed resource path to use for fetching camel jars in WebSphere.public static boolean isWebSphereClassLoader(ClassLoader loader)
loader - the classloaderprotected Enumeration<URL> getResources(ClassLoader loader, String packageName) throws IOException
getResources in class BasePackageScanResolverloader - the classloaderpackageName - the packagename for the package to loadIOException - is thrown by the classloaderApache Camel