public class FindConfigResourceURIsTask extends Object implements Callable<Collection<URI>>
This Callable will be used by ConfigManager#getXMLDocuments(javax.servlet.ServletContext, java.util.List, java.util.concurrent.ExecutorService, boolean).
It represents one or more URIs to configuration resources that require processing.
| Constructor and Description |
|---|
FindConfigResourceURIsTask(ConfigurationResourceProvider provider,
javax.servlet.ServletContext servletContext)
Constructs a new
URITask instance. |
public FindConfigResourceURIsTask(ConfigurationResourceProvider provider, javax.servlet.ServletContext servletContext)
URITask instance.provider - the ConfigurationResourceProvider from
which zero or more URLs will be returnedservletContext - the ServletContext of the current applicationpublic Collection<URI> call() throws Exception
call in interface Callable<Collection<URI>>URL instancesException - if an Exception is thrown by the underlying
ConfigurationResourceProviderCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.