org.objectweb.dream.adl.legacy
Class FractalLegacyComponentBuilder

java.lang.Object
  extended byorg.objectweb.fractal.adl.components.FractalComponentBuilder
      extended byorg.objectweb.dream.adl.legacy.FractalLegacyComponentBuilder
All Implemented Interfaces:
ComponentBuilder, LegacyComponentBuilder

public class FractalLegacyComponentBuilder
extends FractalComponentBuilder
implements LegacyComponentBuilder

Component builder for legacy component. Adds the stopComponent method and the addComponent method check if the sub component is not already in the super component (in case of legacy component)


Constructor Summary
FractalLegacyComponentBuilder()
           
 
Method Summary
 void addComponent(Object superComponent, Object subComponent, String name, Object context)
           
 void stopComponent(Object component, Object context)
          Stop the givent component.
 
Methods inherited from class org.objectweb.fractal.adl.components.FractalComponentBuilder
startComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.fractal.adl.components.ComponentBuilder
startComponent
 

Constructor Detail

FractalLegacyComponentBuilder

public FractalLegacyComponentBuilder()
Method Detail

stopComponent

public void stopComponent(Object component,
                          Object context)
                   throws Exception
Description copied from interface: LegacyComponentBuilder
Stop the givent component.

Specified by:
stopComponent in interface LegacyComponentBuilder
Parameters:
component - the component to stop.
context - a context.
Throws:
Exception - if an error occurs.
See Also:
LegacyComponentBuilder.stopComponent(Object, Object)

addComponent

public void addComponent(Object superComponent,
                         Object subComponent,
                         String name,
                         Object context)
                  throws Exception
Specified by:
addComponent in interface ComponentBuilder
Throws:
Exception
See Also:
ComponentBuilder.addComponent(Object, Object, String, Object)


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