use of org.apache.sling.scripting.sightly.extension.RuntimeExtension in project sling by apache.
the class RenderContextImpl method call.
@Override
public Object call(String functionName, Object... arguments) {
Map<String, RuntimeExtension> extensions = extensionRegistryService.extensions();
RuntimeExtension extension = extensions.get(functionName);
if (extension == null) {
throw new SightlyException("Runtime extension is not available: " + functionName);
}
return extension.call(this, arguments);
}
Aggregations