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

Nested Class Summary
static class Compiler.MethodComparator
           
 
Constructor Summary
Compiler()
           
 
Method Summary
static java.lang.ClassLoader buildClassLoader(java.lang.String classPath)
           
 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()
           
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
CompilerException

run

public void run()
         throws CompilerException
CompilerException

compileAndRemove

public void compileAndRemove(java.lang.String fileName)
                      throws CompilerException
CompilerException

loadClass

public java.lang.Class loadClass(java.lang.String className)
                          throws java.lang.ClassNotFoundException
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
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()