1 23 24 package org.objectweb.fractal.adl.components; 25 26 import org.objectweb.fractal.api.control.LifeCycleController; 27 28 31 32 public class JavaComponentBuilder implements ComponentBuilder { 33 34 38 public void addComponent ( 39 final Object superComponent, 40 final Object subComponent, 41 final String name, 42 final Object context) 43 { 44 } 46 47 public void startComponent (final Object component, final Object context) 48 throws Exception  49 { 50 if (component instanceof LifeCycleController) { 51 ((LifeCycleController)component).startFc(); 52 } 53 } 54 } 55 | Popular Tags |