public class DialectRuntimeRegistry extends Object implements Externalizable
Constructor and Description |
---|
DialectRuntimeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
DialectRuntimeData |
getDialectData(String dialect) |
Map<String,LineMappings> |
getLineMappings() |
LineMappings |
getLineMappings(String className) |
void |
merge(DialectRuntimeRegistry newDatas,
ClassLoader rootClassLoader) |
void |
merge(DialectRuntimeRegistry newDatas,
ClassLoader rootClassLoader,
boolean excludeClasses) |
void |
onAdd(ClassLoader rootClassLoader) |
void |
onBeforeExecute() |
void |
onRemove() |
void |
readExternal(ObjectInput stream)
Handles the read serialization of the PackageCompilationData.
|
DialectRuntimeData |
removeFunction(Package pkg,
Function function) |
DialectRuntimeData |
removeRule(Package pkg,
Rule rule) |
void |
setDialectData(String name,
DialectRuntimeData data) |
void |
writeExternal(ObjectOutput stream)
Handles the write serialization of the PackageCompilationData.
|
public void writeExternal(ObjectOutput stream) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput stream) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void onAdd(ClassLoader rootClassLoader)
public void onRemove()
public void setDialectData(String name, DialectRuntimeData data)
public DialectRuntimeData getDialectData(String dialect)
public DialectRuntimeData removeRule(Package pkg, Rule rule)
public DialectRuntimeData removeFunction(Package pkg, Function function)
public void merge(DialectRuntimeRegistry newDatas, ClassLoader rootClassLoader)
public void merge(DialectRuntimeRegistry newDatas, ClassLoader rootClassLoader, boolean excludeClasses)
public void onBeforeExecute()
public void clear()
public LineMappings getLineMappings(String className)
public Map<String,LineMappings> getLineMappings()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.