public class FatJarPackageScanClassResolver
extends org.apache.camel.impl.DefaultPackageScanClassResolver
org.apache.camel.spi.PackageScanClassResolver that is able to
scan spring-boot fat jars to find classes contained also in nested jars.| Constructor and Description |
|---|
FatJarPackageScanClassResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
doLoadJarClassEntries(InputStream stream,
String urlPath)
Loads all the class entries from the main JAR and all nested jars.
|
protected List<String> |
doLoadJarClassEntries(InputStream stream,
String urlPath,
boolean inspectNestedJars,
boolean closeStream) |
addClassLoader, addFilter, addIfMatching, customResourceLocator, doStart, doStop, find, find, findAnnotated, findAnnotated, findByFilter, findImplementations, getClassLoaders, getResources, isAcceptableScheme, removeFilter, setAcceptableSchemes, setClassLoadersdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected List<String> doLoadJarClassEntries(InputStream stream, String urlPath)
doLoadJarClassEntries in class org.apache.camel.impl.DefaultPackageScanClassResolverstream - the inputstream of the jar file to be examined for classesurlPath - the url of the jar file to be examined for classesprotected List<String> doLoadJarClassEntries(InputStream stream, String urlPath, boolean inspectNestedJars, boolean closeStream)
Apache Camel