org.drools.rule
Class MVELDialectRuntimeData
java.lang.Object
org.drools.rule.MVELDialectRuntimeData
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, DialectRuntimeData
public class MVELDialectRuntimeData
- extends Object
- implements DialectRuntimeData, Externalizable
- See Also:
- Serialized Form
Method Summary |
void |
addCompileable(MVELCompileable compilable)
|
void |
addCompileable(Wireable wireable,
MVELCompileable compilable)
|
void |
addFunction(org.mvel2.ast.Function function)
|
void |
addImport(String str,
Class cls)
|
void |
addImport(String str,
Field field)
|
void |
addImport(String str,
Method method)
|
void |
addPackageImport(String str)
|
DialectRuntimeData |
clone(DialectRuntimeRegistry registry,
org.drools.util.CompositeClassLoader rootClassLoader)
|
MVELDialectRuntimeData.MapFunctionResolverFactory |
getFunctionFactory()
|
Map<Wireable,MVELCompileable> |
getLookup()
|
org.mvel2.ParserConfiguration |
getParserConfiguration()
|
org.drools.util.CompositeClassLoader |
getRootClassLoader()
|
boolean |
isDirty()
|
void |
merge(DialectRuntimeRegistry registry,
DialectRuntimeData newData)
|
void |
onAdd(DialectRuntimeRegistry registry,
org.drools.util.CompositeClassLoader rootClassLoader)
|
void |
onBeforeExecute()
|
void |
onRemove()
|
void |
readExternal(ObjectInput in)
|
void |
reload()
|
void |
removeFunction(Package pkg,
Function function)
|
void |
removeRule(Package pkg,
Rule rule)
|
void |
setDirty(boolean dirty)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MVELDialectRuntimeData
public MVELDialectRuntimeData()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
merge
public void merge(DialectRuntimeRegistry registry,
DialectRuntimeData newData)
- Specified by:
merge
in interface DialectRuntimeData
clone
public DialectRuntimeData clone(DialectRuntimeRegistry registry,
org.drools.util.CompositeClassLoader rootClassLoader)
- Specified by:
clone
in interface DialectRuntimeData
onAdd
public void onAdd(DialectRuntimeRegistry registry,
org.drools.util.CompositeClassLoader rootClassLoader)
- Specified by:
onAdd
in interface DialectRuntimeData
onRemove
public void onRemove()
- Specified by:
onRemove
in interface DialectRuntimeData
onBeforeExecute
public void onBeforeExecute()
- Specified by:
onBeforeExecute
in interface DialectRuntimeData
getFunctionFactory
public MVELDialectRuntimeData.MapFunctionResolverFactory getFunctionFactory()
removeRule
public void removeRule(Package pkg,
Rule rule)
- Specified by:
removeRule
in interface DialectRuntimeData
addFunction
public void addFunction(org.mvel2.ast.Function function)
removeFunction
public void removeFunction(Package pkg,
Function function)
- Specified by:
removeFunction
in interface DialectRuntimeData
isDirty
public boolean isDirty()
- Specified by:
isDirty
in interface DialectRuntimeData
setDirty
public void setDirty(boolean dirty)
- Specified by:
setDirty
in interface DialectRuntimeData
reload
public void reload()
- Specified by:
reload
in interface DialectRuntimeData
getParserConfiguration
public org.mvel2.ParserConfiguration getParserConfiguration()
addImport
public void addImport(String str,
Class cls)
addImport
public void addImport(String str,
Method method)
addImport
public void addImport(String str,
Field field)
addPackageImport
public void addPackageImport(String str)
addCompileable
public void addCompileable(MVELCompileable compilable)
addCompileable
public void addCompileable(Wireable wireable,
MVELCompileable compilable)
getLookup
public Map<Wireable,MVELCompileable> getLookup()
getRootClassLoader
public org.drools.util.CompositeClassLoader getRootClassLoader()
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.