public abstract class BasePackageScanResolver
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.CamelContextAware
| Modifier and Type | Field and Description | 
|---|---|
| protected String[] | acceptableSchemes | 
| protected org.slf4j.Logger | log | 
| Constructor and Description | 
|---|
| BasePackageScanResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addClassLoader(ClassLoader classLoader) | 
| protected URL | customResourceLocator(URL url) | 
| org.apache.camel.CamelContext | getCamelContext() | 
| Set<ClassLoader> | getClassLoaders() | 
| protected Enumeration<URL> | getResources(ClassLoader loader,
            String packageName)Strategy to get the resources by the given classloader. | 
| protected boolean | isAcceptableScheme(String urlPath) | 
| void | setAcceptableSchemes(String schemes)To specify a set of accepted schemas to use for loading resources as URL connections (besides http and https
 schemas) | 
| void | setCamelContext(org.apache.camel.CamelContext camelContext) | 
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, 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, waitprotected final org.slf4j.Logger log
protected String[] acceptableSchemes
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void addClassLoader(ClassLoader classLoader)
public void setAcceptableSchemes(String schemes)
protected boolean isAcceptableScheme(String urlPath)
public Set<ClassLoader> getClassLoaders()
protected URL customResourceLocator(URL url) throws IOException
IOExceptionprotected Enumeration<URL> getResources(ClassLoader loader, String packageName) throws IOException
WebSpherePackageScanClassResolver to take care of
 WebSphere's oddity of resource loading.loader - the classloaderpackageName - the packagename for the package to loadIOException - is thrown by the classloaderApache Camel