org.objectweb.dream.adl
Class PrecompilerCompiler

java.lang.Object
  extended byorg.objectweb.dream.adl.PrecompilerCompiler
All Implemented Interfaces:
BindingController, Compiler

public class PrecompilerCompiler
extends Object
implements BindingController, Compiler

A simple compiler with two Compilerclient interfaces :precompile and compile. These two interfaces are called sequencialy.


Field Summary
static String COMPILE_ITF_NAME
          The name of the client interface used to compile
protected  Compiler compileItf
           
static String PRECOMPILE_ITF_NAME
          The name of the client interface used to precompile
protected  Compiler precompileItf
           
 
Constructor Summary
PrecompilerCompiler()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 void compile(Definition definition, TaskMap tasks, Map context)
           
 String[] listFc()
           
 Object lookupFc(String clientItfName)
           
 void unbindFc(String clientItfName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRECOMPILE_ITF_NAME

public static final String PRECOMPILE_ITF_NAME
The name of the client interface used to precompile

See Also:
Constant Field Values

COMPILE_ITF_NAME

public static final String COMPILE_ITF_NAME
The name of the client interface used to compile

See Also:
Constant Field Values

precompileItf

protected Compiler precompileItf

compileItf

protected Compiler compileItf
Constructor Detail

PrecompilerCompiler

public PrecompilerCompiler()
Method Detail

compile

public void compile(Definition definition,
                    TaskMap tasks,
                    Map context)
             throws ADLException
Specified by:
compile in interface Compiler
Throws:
ADLException
See Also:
Compiler.compile(org.objectweb.fractal.adl.Definition, org.objectweb.fractal.adl.TaskMap, java.util.Map)

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController
See Also:
BindingController.listFc()

lookupFc

public Object lookupFc(String clientItfName)
                throws NoSuchInterfaceException
Specified by:
lookupFc in interface BindingController
Throws:
NoSuchInterfaceException
See Also:
BindingController.lookupFc(java.lang.String)

bindFc

public void bindFc(String clientItfName,
                   Object serverItf)
            throws NoSuchInterfaceException,
                   IllegalBindingException,
                   IllegalLifeCycleException
Specified by:
bindFc in interface BindingController
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
See Also:
BindingController.bindFc(java.lang.String, java.lang.Object)

unbindFc

public void unbindFc(String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
Specified by:
unbindFc in interface BindingController
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
See Also:
BindingController.unbindFc(java.lang.String)


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.