public class FatJarPackageScanClassResolver
extends org.apache.camel.impl.engine.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) |
addFilter, addIfMatching, clearCache, doStart, doStop, find, find, findAnnotated, findAnnotated, findByFilter, findImplementations, removeFilter
addClassLoader, customResourceLocator, getCamelContext, getClassLoaders, getResources, isAcceptableScheme, setAcceptableSchemes, setCamelContext
build, doBuild, doInit, doResume, doShutdown, doSuspend, 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
protected List<String> doLoadJarClassEntries(InputStream stream, String urlPath)
doLoadJarClassEntries
in class org.apache.camel.impl.engine.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