public class WebSpherePackageScanClassResolver extends DefaultPackageScanClassResolver
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
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?
|
addClassLoader, addFilter, addIfMatching, customResourceLocator, doLoadJarClassEntries, doStart, doStop, find, find, findAnnotated, findAnnotated, findByFilter, findImplementations, getClassLoaders, isAcceptableScheme, removeFilter, setAcceptableSchemes, setClassLoaders
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
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 DefaultPackageScanClassResolver
loader
- the classloaderpackageName
- the packagename for the package to loadIOException
- is thrown by the classloaderApache Camel