org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig
Class DefaultJSFAppConfigLocater
java.lang.Object
org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.AbstractJSFAppConfigLocater
org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.WebContentRelativeJSFAppConfigLocater
org.eclipse.jst.jsf.core.internal.provisional.jsfappconfig.DefaultJSFAppConfigLocater
- All Implemented Interfaces:
- java.util.EventListener, IJSFAppConfigLocater, org.eclipse.core.resources.IResourceChangeListener
- public class DefaultJSFAppConfigLocater
- extends WebContentRelativeJSFAppConfigLocater
- implements org.eclipse.core.resources.IResourceChangeListener
DefaultJSFAppConfigLocater attempts to locate the default application
configuration file, located at "/WEB-INF/faces-config.xml".
Field Summary |
static java.lang.String |
DEF_APPCONFIGRESOURCE_FILENAME
Web content folder-relative name of the default application
configuration resource file. |
Method Summary |
protected 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 |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Responds to resource change events. |
void |
startLocating()
Starts locating JSF application configuration resources. |
void |
stopLocating()
Stops locating JSF application configuration resources. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEF_APPCONFIGRESOURCE_FILENAME
public static final java.lang.String DEF_APPCONFIGRESOURCE_FILENAME
- Web content folder-relative name of the default application
configuration resource file.
- See Also:
- Constant Field Values
DefaultJSFAppConfigLocater
public DefaultJSFAppConfigLocater()
startLocating
public void startLocating()
- Description copied from interface:
IJSFAppConfigLocater
- Starts locating JSF application configuration resources.
- Specified by:
startLocating
in interface IJSFAppConfigLocater
- Specified by:
startLocating
in class AbstractJSFAppConfigLocater
stopLocating
public void stopLocating()
- Description copied from interface:
IJSFAppConfigLocater
- Stops locating JSF application configuration resources.
- Specified by:
stopLocating
in interface IJSFAppConfigLocater
- Specified by:
stopLocating
in class AbstractJSFAppConfigLocater
getFilenames
protected java.util.List getFilenames()
- Description copied from class:
WebContentRelativeJSFAppConfigLocater
- Gets a list of Strings representing the filenames (relative to the web
content folder) that locateProviders() will attempt to locate.
- Specified by:
getFilenames
in class WebContentRelativeJSFAppConfigLocater
- Returns:
- A list of Strings representing the filenames (relative to the
web content folder) that locateProviders() will attempt to locate.
resourceChanged
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
- Responds to resource change events.
- Specified by:
resourceChanged
in interface org.eclipse.core.resources.IResourceChangeListener
- Parameters:
event
- IResourceChangeEvent instance.