Package org.ametys.cms.source
Class DefaultViewSelector
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.source.DefaultViewSelector
org.ametys.cms.source.DefaultViewSelector
- All Implemented Interfaces:
ViewSelector,LogEnabled,Serviceable
- Direct Known Subclasses:
WebViewSelector
CMS implementation of
ViewSelector.
First looks the wanted file in context://WEB-INF/param/view/path_to_file
If it's not present, it will look in the current plugin, then in cms plugin-
Field Summary
Fields inherited from class org.ametys.core.source.DefaultViewSelector
_resolverFields inherited from interface org.ametys.core.source.ViewSelector
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_getDefaultSourceURIs(String pluginName, String filePath) Get the default URIsMethods inherited from class org.ametys.core.source.DefaultViewSelector
getLocations, getSource, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
DefaultViewSelector
public DefaultViewSelector()
-
-
Method Details
-
_getDefaultSourceURIs
Description copied from class:DefaultViewSelectorGet the default URIs- Overrides:
_getDefaultSourceURIsin classDefaultViewSelector- Parameters:
pluginName- The current plugin namefilePath- the requested location.- Returns:
- a list of URIs
-