aokell.tools.content
Class ContentResolver

java.lang.Object
  extended by aokell.tools.content.ContentResolver

public class ContentResolver
extends Object

Starting from an ADL description, this tool determines component content classes and generates the AspectJ aspect which introduces the aokell.lib.Content marker interface into those classes.

Author:
Lionel Seinturier

Constructor Summary
ContentResolver(String[] adls)
           
 
Method Summary
 void compile()
           
protected  void epilogue(PrintWriter pw)
           
protected  void generateClause(PrintWriter pw, Object contentDesc, Object ctrlDesc)
           
static void main(String[] args)
           
protected  void prologue(PrintWriter pw, String packagename, String aspectname)
           
protected  void resolve(String packagename, String classname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentResolver

public ContentResolver(String[] adls)
Method Detail

main

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

compile

public void compile()
             throws org.objectweb.fractal.adl.ADLException,
                    IOException
Throws:
org.objectweb.fractal.adl.ADLException
IOException

resolve

protected void resolve(String packagename,
                       String classname)
                throws org.objectweb.fractal.adl.ADLException,
                       IOException
Throws:
org.objectweb.fractal.adl.ADLException
IOException

generateClause

protected void generateClause(PrintWriter pw,
                              Object contentDesc,
                              Object ctrlDesc)
                       throws IOException
Throws:
IOException

prologue

protected void prologue(PrintWriter pw,
                        String packagename,
                        String aspectname)
                 throws IOException
Throws:
IOException

epilogue

protected void epilogue(PrintWriter pw)
                 throws IOException
Throws:
IOException