public class JavaDialectRuntimeData extends Object implements DialectRuntimeData, Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaDialectRuntimeData.PackageClassLoader
This is an Internal Drools Class
|
| Constructor and Description |
|---|
JavaDialectRuntimeData() |
| Modifier and Type | Method and Description |
|---|---|
DialectRuntimeData |
clone(DialectRuntimeRegistry registry,
ClassLoader rootClassLoader) |
DialectRuntimeData |
clone(DialectRuntimeRegistry registry,
ClassLoader rootClassLoader,
boolean excludeClasses) |
byte[] |
getBytecode(String resourceName) |
byte[] |
getClassDefinition(String className) |
ClassLoader |
getClassLoader() |
ClassLoader |
getRootClassLoader() |
Map<String,byte[]> |
getStore() |
boolean |
isDirty() |
void |
merge(DialectRuntimeRegistry registry,
DialectRuntimeData newData) |
void |
merge(DialectRuntimeRegistry registry,
DialectRuntimeData newData,
boolean excludeClasses) |
void |
onAdd(DialectRuntimeRegistry registry,
ClassLoader rootClassLoader) |
void |
onBeforeExecute() |
void |
onRemove() |
void |
putAllClassDefinitions(Map classDefinitions) |
void |
putAllInvokers(Map<String,Wireable> invokers) |
void |
putClassDefinition(String className,
byte[] classDef) |
void |
putInvoker(String className,
Wireable invoker) |
byte[] |
read(String resourceName) |
void |
readExternal(ObjectInput stream)
Handles the read serialization of the PackageCompilationData.
|
void |
reload()
This class drops the classLoader and reloads it.
|
boolean |
remove(String resourceName) |
void |
removeClassDefinition(String className) |
void |
removeFunction(KnowledgePackageImpl pkg,
Function function) |
void |
removeInvoker(String className) |
void |
removeRule(KnowledgePackageImpl pkg,
RuleImpl rule) |
void |
setDirty(boolean dirty) |
String |
toString() |
void |
write(String resourceName,
byte[] clazzData) |
void |
writeExternal(ObjectOutput stream)
Handles the write serialization of the PackageCompilationData.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompile, resetParserConfigurationpublic void writeExternal(ObjectOutput stream) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput stream) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void onAdd(DialectRuntimeRegistry registry, ClassLoader rootClassLoader)
onAdd in interface DialectRuntimeDatapublic void onRemove()
onRemove in interface DialectRuntimeDatapublic void onBeforeExecute()
onBeforeExecute in interface DialectRuntimeDatapublic DialectRuntimeData clone(DialectRuntimeRegistry registry, ClassLoader rootClassLoader)
clone in interface DialectRuntimeDatapublic DialectRuntimeData clone(DialectRuntimeRegistry registry, ClassLoader rootClassLoader, boolean excludeClasses)
clone in interface DialectRuntimeDatapublic void merge(DialectRuntimeRegistry registry, DialectRuntimeData newData)
merge in interface DialectRuntimeDatapublic void merge(DialectRuntimeRegistry registry, DialectRuntimeData newData, boolean excludeClasses)
merge in interface DialectRuntimeDatapublic boolean isDirty()
isDirty in interface DialectRuntimeDatapublic void setDirty(boolean dirty)
setDirty in interface DialectRuntimeDatapublic byte[] getBytecode(String resourceName)
public ClassLoader getClassLoader()
public ClassLoader getRootClassLoader()
public void removeRule(KnowledgePackageImpl pkg, RuleImpl rule)
removeRule in interface DialectRuntimeDatapublic void removeFunction(KnowledgePackageImpl pkg, Function function)
removeFunction in interface DialectRuntimeDatapublic byte[] read(String resourceName)
public void write(String resourceName, byte[] clazzData)
public boolean remove(String resourceName)
public void reload()
reload in interface DialectRuntimeDatapublic void removeInvoker(String className)
public void putClassDefinition(String className, byte[] classDef)
public void putAllClassDefinitions(Map classDefinitions)
public byte[] getClassDefinition(String className)
public void removeClassDefinition(String className)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.