1 18 19 package org.objectweb.kilim.model; 20 21 import java.util.Iterator ; 22 23 import org.objectweb.kilim.KilimException; 24 import org.objectweb.kilim.description.TemplateDescription; 25 import org.objectweb.kilim.model.instanciation.InstanciationMger; 26 27 30 public interface Component extends ContainerElement { 31 35 TemplateDescription getTemplate() ; 36 37 43 Component getSubComponent(String aName); 44 45 50 Iterator getSubComponents(); 51 52 57 void addSubComponent(Component aElement) throws KilimException; 58 59 65 void removeSubComponent(String aLocalName) throws KilimException; 66 67 73 void removeSubComponent(Component aLocalChild) throws KilimException; 74 75 81 ComponentSlot getSlot(String aLocalName) throws KilimException; 82 83 89 Iterator getSlots(); 90 91 96 Iterator getPlugTos(); 97 98 104 void plug(String aName, Component aComponent) throws KilimException; 105 106 112 void unplug(String aName, Component aComponent) throws KilimException; 113 114 120 Component fork() throws KilimException; 121 122 129 void release() throws KilimException; 130 131 136 InstanciationMger getInstanciationMgerFromConfiguration() throws KilimException; 137 138 144 void setInstanciationMger(InstanciationMger aMger) throws KilimException; 145 146 150 InstanciationMger getInstanciationMger(); 151 152 158 void addController(String aName, Object aController) throws KilimException; 159 160 165 void removeController(String aName) throws KilimException; 166 167 173 Object getController(String aName) throws KilimException; 174 175 179 Iterator getControllers(); 180 } | Popular Tags |