org.objectweb.fractal.adl

Interface Compiler

Known Implementing Classes:
ComponentCompiler

public interface Compiler

An ADL definition compiler. Definitions are compiled into a set of org.objectweb.deployment.scheduling.core.api.Tasks.

Method Summary

void
compile(Definition definition, TaskMap tasks, Map context)
Compiles the given ADL definition.

Method Details

compile

public void compile(Definition definition,
                    TaskMap tasks,
                    Map context)
            throws ADLException
Compiles the given ADL definition.

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.