org.xwiki.script.service
Interface ScriptServiceManager
@Role
public interface ScriptServiceManager
Provides access to 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.
- Since:
- 2.3M1
- Version:
- $Id: 22abf501a37c4356b9820a3759b9eb3fdbf7dfbc $
|
Method Summary |
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")). |
get
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")). It also makes it a short and easy API name for other scripting languages.
- Parameters:
serviceName - the name of the service to look for
- Returns:
- the service asked or null if none could be found
Copyright © 2004-2013 XWiki. All Rights Reserved.