org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig
Class WebContentRelativeJSFAppConfigLocater
java.lang.Object
org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.AbstractJSFAppConfigLocater
org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.WebContentRelativeJSFAppConfigLocater
- All Implemented Interfaces:
- IJSFAppConfigLocater
- Direct Known Subclasses:
- ContextParamSpecifiedJSFAppConfigLocater, DefaultJSFAppConfigLocater
- public abstract class WebContentRelativeJSFAppConfigLocater
- extends AbstractJSFAppConfigLocater
WebContentRelativeJSFAppConfigLocater is an abstract base class that
attempts to locate specified application configuration files relative to a
web content folder. Subclasses must override the getFilenames() method to
return a list of filenames that the locateProviders() method will attempt to
locate, and call locateProviders().
Method Summary |
protected abstract java.util.List |
getFilenames()
Gets a list of Strings representing the filenames (relative to the web
content folder) that locateProviders() will attempt to locate. |
void |
locateProviders()
Locates application configuration resources specified by the filenames
(relative to the web content folder) returned by getFilenames(), and
updates the set of IJSFAppConfigProvider instances accordingly. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContentRelativeJSFAppConfigLocater
public WebContentRelativeJSFAppConfigLocater()
locateProviders
public void locateProviders()
- Locates application configuration resources specified by the filenames
(relative to the web content folder) returned by getFilenames(), and
updates the set of
IJSFAppConfigProvider
instances accordingly.
getFilenames
protected abstract java.util.List getFilenames()
- Gets a list of Strings representing the filenames (relative to the web
content folder) that locateProviders() will attempt to locate.
- Returns:
- A list of Strings representing the filenames (relative to the
web content folder) that locateProviders() will attempt to locate.