org.objectweb.carol.cmi.compiler
Class Compiler
java.lang.Object
org.objectweb.carol.cmi.compiler.Compiler
- public class Compiler
- extends java.lang.Object
- Author:
- nieuviar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compiler
public Compiler()
configure
public void configure(java.lang.String[] args)
throws CompilerException
- Throws:
CompilerException
run
public void run()
throws CompilerException
- Throws:
CompilerException
compileAndRemove
public void compileAndRemove(java.lang.String fileName)
throws CompilerException
- Throws:
CompilerException
compileAndRemove
public void compileAndRemove(java.util.Collection fileNames)
throws CompilerException
- Throws:
CompilerException
loadClass
public java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
isRemoteItf
public static boolean isRemoteItf(java.lang.Class cl)
getRemoteItfs
public static java.util.Set getRemoteItfs(java.lang.Class cl)
getRemoteMethods
public static java.lang.reflect.Method[] getRemoteMethods(java.lang.Class cl)
buildClassLoader
public static java.lang.ClassLoader buildClassLoader(java.lang.String classPath)
usage
public static void usage()
generate
public static void generate(java.lang.String[] args)
throws CompilerException
- Throws:
CompilerException
main
public static void main(java.lang.String[] args)
getSrcDir
public java.lang.String getSrcDir()
isCompile
public boolean isCompile()
getCompiler
public java.lang.String getCompiler()
getDestDir
public java.lang.String getDestDir()
getClassPath
public java.lang.String getClassPath()
isInvokeCmd
public boolean isInvokeCmd()