org.objectweb.fractal.adl.components
Class ComponentCompiler
- BindingController, Compiler
public class ComponentCompiler
Basic implementation of the
Compiler
interface. This implementation
delegates definition compilation requests to a set of
PrimitiveCompiler
s.
PRIMITIVE_COMPILERS_BINDING
public static final String PRIMITIVE_COMPILERS_BINDING
Name of the collection interface bound to the
PrimitiveCompiler
s
used by this compiler.
primitiveCompilers
public Map primitiveCompilers
The primitive compilers used by this compiler.
bindFc
public void bindFc(String itf,
Object value)
compile
public void compile(Definition definition,
TaskMap tasks,
Map context)
throws ADLException
Compiles the given ADL definition.
- compile in interface Compiler
definition
- the ADL definition to be compiled.tasks
- where the tasks compiled from the definition must be put.context
- optional additional information.
ADLException
- if the given definition cannot be compiled.
listFc
public String[] listFc()
lookupFc
public Object lookupFc(String itf)
unbindFc
public void unbindFc(String itf)