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
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected List<String> doLoadJarClassEntries(InputStream stream, String urlPath)
doLoadJarClassEntries
in class org.apache.camel.impl.DefaultPackageScanClassResolver
stream
- 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