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

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

public class ADLInterfaceGenerator
extends AbstractInterfaceGenerator

This tool generates the implementation classes of Fractal interfaces. The interfaces are extracted from a given ADL definition. 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
ADLInterfaceGenerator(String[] args)
           
 
Method Summary
 void compile()
           
protected  void generateFromADL(String adl)
          Generate from the given ADL 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

ADLInterfaceGenerator

public ADLInterfaceGenerator(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

generateFromADL

protected void generateFromADL(String adl)
                        throws org.objectweb.fractal.adl.ADLException,
                               IOException,
                               ClassNotFoundException
Generate from the given ADL file.

Throws:
org.objectweb.fractal.adl.ADLException
IOException
ClassNotFoundException