org.objectweb.fractal.adl.implementations
Class ImplementationCompiler

java.lang.Object
  extended byorg.objectweb.fractal.adl.implementations.ImplementationCompiler
All Implemented Interfaces:
BindingController, PrimitiveCompiler
Direct Known Subclasses:
VirtualNodeImplementationCompiler

public class ImplementationCompiler
extends Object
implements BindingController, PrimitiveCompiler

A PrimitiveCompiler to compile Implementation nodes in definitions.


Field Summary
 ImplementationBuilder builder
          The ImplementationBuilder used by this compiler.
static String BUILDER_BINDING
          Name of the mandatory interface bound to the ImplementationBuilder used by this compiler.
 
Constructor Summary
ImplementationCompiler()
           
 
Method Summary
 void bindFc(String itf, Object value)
           
 void compile(List path, ComponentContainer container, TaskMap tasks, Map context)
           
 String[] listFc()
           
 Object lookupFc(String itf)
           
 org.objectweb.deployment.scheduling.component.lib.AbstractInstanceProviderTask newCreateTask(List path, ComponentContainer container, String name, String definition, Object controller, Object implementation, Map context)
           
 void unbindFc(String itf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILDER_BINDING

public static final String BUILDER_BINDING
Name of the mandatory interface bound to the ImplementationBuilder used by this compiler.

See Also:
Constant Field Values

builder

public ImplementationBuilder builder
The ImplementationBuilder used by this compiler.

Constructor Detail

ImplementationCompiler

public ImplementationCompiler()
Method Detail

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(List path,
                    ComponentContainer container,
                    TaskMap tasks,
                    Map context)
             throws ADLException
Specified by:
compile in interface PrimitiveCompiler
Throws:
ADLException

newCreateTask

public org.objectweb.deployment.scheduling.component.lib.AbstractInstanceProviderTask newCreateTask(List path,
                                                                                                    ComponentContainer container,
                                                                                                    String name,
                                                                                                    String definition,
                                                                                                    Object controller,
                                                                                                    Object implementation,
                                                                                                    Map context)