private static class ConfigManager.URITask
extends java.lang.Object
implements java.util.concurrent.Callable<java.util.Collection<java.net.URI>>
This Callable
will be used by ConfigManager.getConfigDocuments(javax.servlet.ServletContext, java.util.List, java.util.concurrent.ExecutorService, boolean)
.
It represents one or more URLs to configuration resources that require
processing.
Modifier and Type | Field and Description |
---|---|
private ConfigurationResourceProvider |
provider |
private javax.servlet.ServletContext |
sc |
Constructor and Description |
---|
URITask(ConfigurationResourceProvider provider,
javax.servlet.ServletContext sc)
Constructs a new
URITask instance. |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.net.URI> |
call() |
private ConfigurationResourceProvider provider
private javax.servlet.ServletContext sc
public URITask(ConfigurationResourceProvider provider, javax.servlet.ServletContext sc)
URITask
instance.provider
- the ConfigurationResourceProvider
from
which zero or more URL
s will be returnedsc
- the ServletContext
of the current applicationpublic java.util.Collection<java.net.URI> call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.util.Collection<java.net.URI>>
URL
instancesjava.lang.Exception
- if an Exception is thrown by the underlying
ConfigurationResourceProvider
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.