Class ClasspathScriptsRepository

java.lang.Object
de.hybris.platform.scripting.engine.repository.impl.AbstractScriptsRepository
de.hybris.platform.scripting.engine.repository.impl.ClasspathScriptsRepository
All Implemented Interfaces:
CacheableScriptsRepository, ScriptsRepository
Direct Known Subclasses:
TestClasspathScriptsRepository

public class ClasspathScriptsRepository extends AbstractScriptsRepository implements CacheableScriptsRepository
This repository does lookup for scripts in the current classpath.

The format of URI for script:

 classpath://path/to/script.groovy
 classpath://path/to/file.bsh
 classpath://path/to/file.js
 

Any scripts which are intended to be used by this repository must have proper file extension according to the Script Type.