Package org.apache.camel.spring.boot
Class FatJarPackageScanResourceResolver
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.impl.engine.BasePackageScanResolver
org.apache.camel.impl.engine.DefaultPackageScanResourceResolver
org.apache.camel.spring.boot.FatJarPackageScanResourceResolver
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.CamelContextAware
,org.apache.camel.NonManagedService
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.PackageScanResourceResolver
,org.apache.camel.StatefulService
,org.apache.camel.StaticService
,org.apache.camel.SuspendableService
public class FatJarPackageScanResourceResolver
extends org.apache.camel.impl.engine.DefaultPackageScanResourceResolver
An implementation of the
org.apache.camel.spi.PackageScanResourceResolver
that is able to scan spring-boot
fat jars to find resources contained also in nested jars.-
Field Summary
Fields inherited from class org.apache.camel.impl.engine.BasePackageScanResolver
acceptableSchemes
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoLoadImplementationsInJar
(String packageName, InputStream stream, String urlPath) doLoadImplementationsInJar
(String packageName, InputStream stream, String urlPath, boolean inspectNestedJars, boolean closeStream) protected String
parseUrlPath
(URL url) Methods inherited from class org.apache.camel.impl.engine.DefaultPackageScanResourceResolver
doFind, doFindResources, findInClasspath, findInFileSystem, findResources, loadImplementationsInJar
Methods inherited from class org.apache.camel.impl.engine.BasePackageScanResolver
addClassLoader, customResourceLocator, doInit, getCamelContext, getClassLoaders, getResources, getUrls, initialize, isAcceptableScheme, setAcceptableSchemes, setCamelContext
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, 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, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
Methods inherited from interface org.apache.camel.spi.PackageScanResourceResolver
addClassLoader, getClassLoaders, setAcceptableSchemes
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
FatJarPackageScanResourceResolver
public FatJarPackageScanResourceResolver()
-
-
Method Details
-
doLoadImplementationsInJar
protected List<String> doLoadImplementationsInJar(String packageName, InputStream stream, String urlPath) - Overrides:
doLoadImplementationsInJar
in classorg.apache.camel.impl.engine.DefaultPackageScanResourceResolver
-
doLoadImplementationsInJar
protected List<String> doLoadImplementationsInJar(String packageName, InputStream stream, String urlPath, boolean inspectNestedJars, boolean closeStream) -
parseUrlPath
- Overrides:
parseUrlPath
in classorg.apache.camel.impl.engine.BasePackageScanResolver
-