|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.rule.PackageCompilationData
public class PackageCompilationData
Nested Class Summary | |
---|---|
class |
PackageCompilationData.PackageClassLoader
Lifted and adapted from Jakarta commons-jci |
Constructor Summary | |
---|---|
PackageCompilationData()
Default constructor - for Externalizable. |
|
PackageCompilationData(ClassLoader parentClassLoader)
|
Method Summary | |
---|---|
void |
clear()
|
static String |
convertClassToResourcePath(String pName)
Please do not use - internal org.my.Class -> org/my/Class.class |
static String |
convertResourceToClassName(String pResourceName)
Please do not use - internal org/my/Class.xxx -> org.my.Class |
Object |
getAST()
|
ClassLoader |
getClassLoader()
|
Map |
getInvokers()
|
Map |
getLineMappings()
|
LineMappings |
getLineMappings(String className)
|
String[] |
list()
|
void |
putAllInvokers(Map invokers)
|
void |
putInvoker(String className,
Object 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. |
void |
remove(String resourceName)
|
void |
removeInvoker(String className)
|
void |
setAST(Object ast)
|
void |
setLineMappings(Map lineMappings)
|
static String |
stripExtension(String pResourceName)
Please do not use - internal org/my/Class.xxx -> org/my/Class |
String |
toString()
|
void |
wire(String className)
|
void |
wire(String className,
Object invoker)
|
void |
write(String resourceName,
byte[] clazzData)
|
void |
writeExternal(ObjectOutput stream)
Handles the write serialization of the PackageCompilationData. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PackageCompilationData()
public PackageCompilationData(ClassLoader parentClassLoader)
Method Detail |
---|
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 ClassLoader getClassLoader()
public byte[] read(String resourceName)
public void write(String resourceName, byte[] clazzData) throws RuntimeDroolsException
RuntimeDroolsException
public void remove(String resourceName) throws RuntimeDroolsException
RuntimeDroolsException
public String[] list()
public void reload() throws RuntimeDroolsException
public void clear()
public void wire(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public void wire(String className, Object invoker) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public String toString()
public void putInvoker(String className, Object invoker)
public void putAllInvokers(Map invokers)
public Map getInvokers()
public void removeInvoker(String className)
public Map getLineMappings()
public void setLineMappings(Map lineMappings)
public LineMappings getLineMappings(String className)
public Object getAST()
public void setAST(Object ast)
public static String convertResourceToClassName(String pResourceName)
public static String convertClassToResourcePath(String pName)
public static String stripExtension(String pResourceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |