コード例 #1
0
 /**
  * Get a sub script service related to wiki. (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
  * <code>$services.wiki.name</code> is equivalent to writing <code>$services.wiki.get("name")
  * </code>). It also makes it a short and easy API name for other scripting languages.
  *
  * @param serviceName id of the script service
  * @return the service asked or null if none could be found
  */
 public ScriptService get(String serviceName) {
   return scriptServiceManager.get(ROLEHINT + '.' + serviceName);
 }