Package org.mozilla.javascript
Interface ContextAction<T>
- Record Components:
T
- the type of the return value of action execution
public interface ContextAction<T>
Interface to represent arbitrary action that requires to have Context object associated with the
current thread for its execution.
-
Method Summary
-
Method Details
-
run
Execute action using the supplied Context instance. When Rhino runtime calls the method,cx
will be associated with the current thread as active context.- See Also:
-