@Role public interface ScriptServiceManager
ScriptService implementation at runtime. Implementations of this interface are supposed to
be bound to the Script Context so that they can be access from scripts.| Modifier and Type | Method and Description |
|---|---|
ScriptService |
get(String serviceName)
Note that we're voluntarily using an API name of "get" to make it extra easy to access Script Services from
Velocity (since in Velocity writing
$services.name is equivalent to writing
$services.get("name")). |
ScriptService get(String serviceName)
$services.name is equivalent to writing
$services.get("name")). It also makes it a short and easy API name for other scripting languages.serviceName - the name of the service to look forCopyright © 2004–2015 XWiki. All rights reserved.