org.objectweb.fractal.adl.components
Class ComponentCompiler
java.lang.Object
org.objectweb.fractal.adl.components.ComponentCompiler
- All Implemented Interfaces:
- BindingController, Compiler
- public class ComponentCompiler
- extends Object
- implements BindingController, Compiler
Basic implementation of the Compiler
interface. This implementation
delegates definition compilation requests to a set of
PrimitiveCompiler
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIMITIVE_COMPILERS_BINDING
public static final String PRIMITIVE_COMPILERS_BINDING
- Name of the collection interface bound to the
PrimitiveCompiler
s
used by this compiler.
- See Also:
- Constant Field Values
primitiveCompilers
public Map primitiveCompilers
- The primitive compilers used by this compiler.
ComponentCompiler
public ComponentCompiler()
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
lookupFc
public Object lookupFc(String itf)
- Specified by:
lookupFc
in interface BindingController
bindFc
public void bindFc(String itf,
Object value)
- Specified by:
bindFc
in interface BindingController
unbindFc
public void unbindFc(String itf)
- Specified by:
unbindFc
in interface BindingController
compile
public void compile(Definition definition,
TaskMap tasks,
Map context)
throws ADLException
- Description copied from interface:
Compiler
- Compiles the given ADL definition.
- Specified by:
compile
in interface Compiler
- Parameters:
definition
- the ADL definition to be compiled.tasks
- where the tasks compiled from the definition must be put.context
- optional additional information.
- Throws:
ADLException
- if the given definition cannot be compiled.