Top Description Fields Constructors Methods
com.sun.faces.config.manager.tasks

public Class FindConfigResourceURIsTask

extends Object
implements Callable<Collection<URI>>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Static Imports
java.util.Collections.emptyList

This Callable will be used by getXMLDocuments It represents one or more URIs to configuration resources that require processing.

Field Summary

Modifier and TypeField and Description
private final ConfigurationResourceProvider
private final ServletContext

Constructor Summary

AccessConstructor and Description
public
FindConfigResourceURIsTask(ConfigurationResourceProvider
the ConfigurationResourceProvider from which zero or more URLs will be returned
provider
,
ServletContext
the ServletContext of the current application
servletContext
)

Constructs a new URITask instance.

Method Summary

Modifier and TypeMethod and Description
public Collection<URI>

Returns:

zero or more URL instances
call
()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

providerback to summary
private final ConfigurationResourceProvider provider
servletContextback to summary
private final ServletContext servletContext

Constructor Detail

FindConfigResourceURIsTaskback to summary
public FindConfigResourceURIsTask(ConfigurationResourceProvider provider, ServletContext servletContext)

Constructs a new URITask instance.

Parameters
provider:ConfigurationResourceProvider

the ConfigurationResourceProvider from which zero or more URLs will be returned

servletContext:ServletContext

the ServletContext of the current application

Method Detail

callback to summary
public Collection<URI> call() throws Exception

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:Collection<URI>

zero or more URL instances

Annotations
@SuppressWarnings:unchecked
@Override
Exceptions
Exception:
if an Exception is thrown by the underlying ConfigurationResourceProvider