public class DefaultPackageScanResourceResolver extends BasePackageScanResolver implements org.apache.camel.spi.PackageScanResourceResolver, org.apache.camel.NonManagedService, org.apache.camel.CamelContextAware
PackageScanResourceResolver
acceptableSchemes, log
Constructor and Description |
---|
DefaultPackageScanResourceResolver() |
Modifier and Type | Method and Description |
---|---|
protected void |
doFind(String packageName,
ClassLoader classLoader,
Set<InputStream> resources,
String subPattern) |
protected void |
doStart() |
protected void |
doStop() |
protected void |
findInClasspath(String packageName,
Set<InputStream> resources,
String subPattern) |
protected void |
findInFileSystem(File dir,
Set<InputStream> resources,
String subPattern) |
Set<InputStream> |
findResources(String location) |
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
public Set<InputStream> findResources(String location) throws Exception
findResources
in interface org.apache.camel.spi.PackageScanResourceResolver
Exception
protected void findInFileSystem(File dir, Set<InputStream> resources, String subPattern) throws Exception
Exception
protected void findInClasspath(String packageName, Set<InputStream> resources, String subPattern)
protected void doFind(String packageName, ClassLoader classLoader, Set<InputStream> resources, String subPattern)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
Apache Camel