1 18 19 package org.objectweb.kilim.model.instanciation; 20 21 import org.objectweb.kilim.KilimException; 22 import org.objectweb.kilim.model.Component; 23 import org.objectweb.kilim.model.ComponentInterface; 24 import org.objectweb.kilim.model.ComponentSlot; 25 import org.objectweb.kilim.model.mapping.MappingContext; 26 27 46 47 public abstract class InstanciationMger { 48 49 56 public void initializeInstanciation(Component aComponent, ComponentInterface aInterface) throws KilimException { 57 initializeInstanciation(aComponent, aInterface, null); 58 } 59 60 67 public abstract void initializeInstanciation(Component aComponent, ComponentInterface aInterface, MappingContext aContext) throws KilimException; 68 69 76 public void finalizeInstanciation(Component aComponent, ComponentInterface aInterface) throws KilimException { 77 finalizeInstanciation(aComponent, aInterface, null); 78 } 79 80 87 public abstract void finalizeInstanciation(Component aComponent, ComponentInterface aInterface, MappingContext aContext) throws KilimException; 88 89 95 public void initializePlug(Component aComponent, ComponentSlot aSlot) throws KilimException { 96 initializePlug(aComponent, aSlot, null); 97 } 98 99 106 public abstract void initializePlug(Component aComponent, ComponentSlot aSlot, MappingContext aContext) throws KilimException; 107 108 114 public void finalizePlug(Component aComponent, ComponentSlot aSlot) throws KilimException { 115 finalizePlug(aComponent, aSlot, null); 116 } 117 118 125 public abstract void finalizePlug(Component aComponent, ComponentSlot aSlot, MappingContext aContext) throws KilimException; 126 } 127 128 | Popular Tags |