org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig
Class WebContentRelativeJSFAppConfigLocater

java.lang.Object
  extended byorg.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.AbstractJSFAppConfigLocater
      extended byorg.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().


Field Summary
 
Fields inherited from class org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.AbstractJSFAppConfigLocater
configProviders, manager
 
Constructor Summary
WebContentRelativeJSFAppConfigLocater()
           
 
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 org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.AbstractJSFAppConfigLocater
addConfigProvider, finalize, getJSFAppConfigManager, getJSFAppConfigProviders, removeAllConfigProviders, removeConfigProvider, setJSFAppConfigManager, startLocating, stopLocating, updateConfigProviders
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContentRelativeJSFAppConfigLocater

public WebContentRelativeJSFAppConfigLocater()
Method Detail

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.