org.xwiki.script
Interface ScriptContextManager


@ComponentRole
public interface ScriptContextManager

Helpers for ScriptContext management. Like context initialization, etc.

Version:
$Id: ScriptContextManager.java 22937 2009-08-26 12:18:41Z vmassol $

Method Summary
 javax.script.ScriptContext getScriptContext()
           
 

Method Detail

getScriptContext

javax.script.ScriptContext getScriptContext()
Returns:
a clean and initialized ScriptContext. Clean means that all ScriptContextInitializer will have been executed on the returned Script Context which will thus contain re-initialized values for the values which are set in ScriptContextInitializer. The values that are set before calling this method and for which there are no ScriptContextInitializer will not be modified.


Copyright © 2004-2011 XWiki. All Rights Reserved.