|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mvel2.MVELRuntime
public class MVELRuntime
This class contains the runtime for running compiled MVEL expressions.
Field Summary | |
---|---|
static ImmutableDefaultFactory |
IMMUTABLE_DEFAULT_FACTORY
|
Constructor Summary | |
---|---|
MVELRuntime()
|
Method Summary | |
---|---|
static void |
clearAllBreakpoints()
Reset all the currently registered breakpoints. |
static Object |
execute(boolean debugger,
CompiledExpression expression,
Object ctx,
VariableResolverFactory variableFactory)
Main interpreter. |
static boolean |
hasBreakpoints()
Tests whether or not breakpoints have been declared. |
static void |
registerBreakpoint(String source,
int line)
Register a debugger breakpoint. |
static void |
removeBreakpoint(String source,
int line)
Remove a specific breakpoint. |
static void |
resetDebugger()
Reset all information registered in the debugger, including the actual attached Debugger and registered breakpoints. |
static void |
setThreadDebugger(Debugger debugger)
Sets the Debugger instance to handle breakpoints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ImmutableDefaultFactory IMMUTABLE_DEFAULT_FACTORY
Constructor Detail |
---|
public MVELRuntime()
Method Detail |
---|
public static Object execute(boolean debugger, CompiledExpression expression, Object ctx, VariableResolverFactory variableFactory)
debugger
- Run in debug modeexpression
- The compiled expression objectctx
- The root context objectvariableFactory
- The variable factory to be injected
MVEL
public static void registerBreakpoint(String source, int line)
source
- - the source file the breakpoint is registered inline
- - the line number of the breakpointpublic static void removeBreakpoint(String source, int line)
source
- - the source file the breakpoint is registered inline
- - the line number of the breakpoint to be removedpublic static void clearAllBreakpoints()
public static boolean hasBreakpoints()
public static void setThreadDebugger(Debugger debugger)
resetDebugger()
debugger
- - debugger instancepublic static void resetDebugger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |