org.objectweb.fractal.aokell.tools.interf
Class ADLInterfaceGenerator
java.lang.Object
org.objectweb.fractal.aokell.tools.interf.AbstractInterfaceGenerator
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADLInterfaceGenerator
public ADLInterfaceGenerator(String[] args)
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