Class ServiceSourceFactory

  • All Implemented Interfaces:
    LogEnabled, Component, Contextualizable, Serviceable, SourceFactory

    public class ServiceSourceFactory
    extends AbstractLogEnabled
    implements SourceFactory, Serviceable, Contextualizable
    This factory looks for files in the current skin and fallback in the current plugin dir.<br> Use: service://path_to_file<br> Will first loon in the current template in the <i>stylesheets/services/{pluginName}</i> sub-directory => skins/{skin}/templates/{template}/stylesheets/services/{pluginName}/path_to_file<br> If not found, then it will look in the skin of the current site in the sub-directory services/{pluginName} => skins/{skin}/services/{currentPluginName}/path_to_file<br> And if the file does not exist will search in plugin:{currentPluginName}://path_to_file