org.objectweb.dream.adl.legacy
Class LegacyImplementationCompiler

java.lang.Object
  extended by org.objectweb.dream.adl.legacy.LegacyImplementationCompiler
All Implemented Interfaces:
PrimitiveCompiler, BindingController

public class LegacyImplementationCompiler
extends Object
implements BindingController, PrimitiveCompiler

Compiler that register a InstanceProviderTask for legacy component instances.


Field Summary
protected  LegacyComponentBuilder builder
           
static String BUILDER_BINDING
          Name of the mandatory interface bound to the LegacyComponentBuilder used by this compiler.
 
Constructor Summary
LegacyImplementationCompiler()
           
 
Method Summary
 void bindFc(String itf, Object value)
           
 void compile(List path, ComponentContainer container, TaskMap tasks, Map context)
           
 String[] listFc()
           
 Object lookupFc(String itf)
           
 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 LegacyComponentBuilder used by this compiler.

See Also:
Constant Field Values

builder

protected LegacyComponentBuilder builder
Constructor Detail

LegacyImplementationCompiler

public LegacyImplementationCompiler()
Method Detail

compile

public void compile(List path,
                    ComponentContainer container,
                    TaskMap tasks,
                    Map context)
             throws ADLException
Specified by:
compile in interface PrimitiveCompiler
Throws:
ADLException
See Also:
PrimitiveCompiler.compile(List, ComponentContainer, TaskMap, Map)

listFc

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

lookupFc

public Object lookupFc(String itf)
Specified by:
lookupFc in interface BindingController
See Also:
BindingController.lookupFc(String)

bindFc

public void bindFc(String itf,
                   Object value)
Specified by:
bindFc in interface BindingController
See Also:
BindingController.bindFc(String, Object)

unbindFc

public void unbindFc(String itf)
Specified by:
unbindFc in interface BindingController
See Also:
BindingController.unbindFc(String)


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