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, doStop, find, find, findAnnotated, findAnnotated, findByFilter, findImplementations, removeFilter
addClassLoader, customResourceLocator, getCamelContext, getClassLoaders, isAcceptableScheme, setAcceptableSchemes, setCamelContext
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStart, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClassLoader, getClassLoaders, setAcceptableSchemes
public 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 BasePackageScanResolver
loader
- the classloaderpackageName
- the packagename for the package to loadIOException
- is thrown by the classloaderApache Camel