org.objectweb.fractal.aokell.tools.interf
Class InterfaceGenerator

java.lang.Object
  extended by org.objectweb.fractal.aokell.tools.interf.AbstractInterfaceGenerator
      extended by org.objectweb.fractal.aokell.tools.interf.InterfaceGenerator

public class InterfaceGenerator
extends AbstractInterfaceGenerator

This tool generates the implementation classes of Fractal interfaces. For each interface two classes are generated: one for server interfaces of primitive component (so called ImplementedInterface) and one for client interfaces and server interfaces exported by composite components (so called BoundableInterface).

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from class org.objectweb.fractal.aokell.tools.interf.AbstractInterfaceGenerator
args, generatedDirname, packageprefix
 
Constructor Summary
InterfaceGenerator(String[] args)
           
 
Method Summary
 void compile()
           
protected  void generateFromJava(String java)
          Generate from the given Java file.
static void main(String[] args)
           
 
Methods inherited from class org.objectweb.fractal.aokell.tools.interf.AbstractInterfaceGenerator
epilogue, generateInterface, getClassName, prologue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceGenerator

public InterfaceGenerator(String[] args)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

compile

public void compile()
             throws IOException,
                    ClassNotFoundException
Throws:
IOException
ClassNotFoundException

generateFromJava

protected void generateFromJava(String java)
                         throws IOException,
                                ClassNotFoundException
Generate from the given Java file.

Throws:
IOException
ClassNotFoundException