org.objectweb.carol.cmi.compiler
Class Compiler

java.lang.Object
  extended byorg.objectweb.carol.cmi.compiler.Compiler

public class Compiler
extends java.lang.Object

Author:
nieuviar

Nested Class Summary
static class Compiler.MethodComparator
           
 
Constructor Summary
Compiler()
           
 
Method Summary
static java.lang.ClassLoader buildClassLoader(java.lang.String classPath)
           
 void compileAndRemove(java.util.Collection fileNames)
           
 void compileAndRemove(java.lang.String fileName)
           
 void configure(java.lang.String[] args)
           
static void generate(java.lang.String[] args)
           
 java.lang.String getClassPath()
           
 java.lang.String getCompiler()
           
 java.lang.String getDestDir()
           
static java.util.Set getRemoteItfs(java.lang.Class cl)
           
static java.lang.reflect.Method[] getRemoteMethods(java.lang.Class cl)
           
 java.lang.String getSrcDir()
           
 boolean isCompile()
           
 boolean isInvokeCmd()
           
static boolean isRemoteItf(java.lang.Class cl)
           
 java.lang.Class loadClass(java.lang.String className)
           
static void main(java.lang.String[] args)
           
 void run()
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler()
Method Detail

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()