|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.model.instanciation.InstanciationMger
org.objectweb.kilim.model.instanciation.BDUInstanciationMger
Constructor Summary | |
BDUInstanciationMger()
|
Method Summary | |
static void |
doWhenInstanciate(Component aComponent,
ComponentInterface aInterface,
MappingContext aContext)
Method doWhenInstanciate performs the component instanciation according to the following rules : it first looks up for all the nary ports directly declared at the component level and invokes the getValue() method on every provider they contain. |
private static void |
doWhenInstanciate1(RtCollectionPort aInterface,
MappingContext aContext)
|
static void |
doWhenPlug(Component aComponent,
ComponentSlot aSlot,
MappingContext aContext)
Method doWhenPlug. |
void |
finalizeInstanciation(Component aComponent,
ComponentInterface aInterface,
MappingContext aContext)
This is the "post" method called by the Kilim runtime when it has to get the value of an interface (port, provider, property) belonging to a UNITIALIZED component or slot. |
void |
finalizePlug(Component aComponent,
ComponentSlot aSlot,
MappingContext aContext)
This is the "post" method called by the Kilim runtime when it has to plug either an UNINITIALIZED component or an INITIALIZED component into an UNITIALIZED slot. |
void |
initializeInstanciation(Component aComponent,
ComponentInterface aInterface,
MappingContext aContext)
This is the "pre" method called by the Kilim runtime when it has to get the value of an interface (port, provider, property) belonging to a UNITIALIZED component or slot. |
void |
initializePlug(Component aComponent,
ComponentSlot aSlot,
MappingContext aContext)
This is the "pre" method called by the Kilim runtime when it has to plug either an UNINITIALIZED component or an INITIALIZED component into an UNITIALIZED slot. |
Methods inherited from class org.objectweb.kilim.model.instanciation.InstanciationMger |
finalizeInstanciation, finalizePlug, initializeInstanciation, initializePlug |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BDUInstanciationMger()
Method Detail |
public void finalizeInstanciation(Component aComponent, ComponentInterface aInterface, MappingContext aContext) throws KilimException
InstanciationMger
finalizeInstanciation
in class InstanciationMger
aComponent
- : the component containing the interfaceaInterface
- : the accessed interfaceaContext
- : the mapping context
KilimException
- : generated by the instantiation manager in case of problems. These are specific to each manager.org.objectweb.kilim.model.InstanciationMger#finalizeInstanciation(TemplateDescription)
public void initializeInstanciation(Component aComponent, ComponentInterface aInterface, MappingContext aContext) throws KilimException
InstanciationMger
initializeInstanciation
in class InstanciationMger
aComponent
- : the component containing the interfaceaInterface
- : the accessed interfaceaContext
- : the mapping context
KilimException
- : generated by the instantiation manager in case of problems. These are specific to each manager.org.objectweb.kilim.model.InstanciationMger#initializeInstanciation(Component)
public void initializePlug(Component aComponent, ComponentSlot aSlot, MappingContext aContext) throws KilimException
InstanciationMger
initializePlug
in class InstanciationMger
aComponent
- : the component to be pluggedaSlot
- : the slotaContext
- : the maping context
KilimException
- : generated by the instantiation manager in case of problems. These are specific to each manager.org.objectweb.kilim.model.services.InstanciationMger#initializePlug(Component, ComponentSlot, MappingContext)
public void finalizePlug(Component aComponent, ComponentSlot aSlot, MappingContext aContext) throws KilimException
InstanciationMger
finalizePlug
in class InstanciationMger
aComponent
- : the component to be pluggedaSlot
- : the slotaContext
- : the maping context
KilimException
- : generated by the instantiation manager in case of problems. These are specific to each manager.org.objectweb.kilim.model.services.InstanciationMger#finalizePlug(Component, ComponentSlot, MappingContext)
public static void doWhenInstanciate(Component aComponent, ComponentInterface aInterface, MappingContext aContext) throws KilimException
aComponent
- is the component containing the current interfarface.aInterface
- is the current interface.aContext
- :
KilimException
- is generated when aComponent is null.private static void doWhenInstanciate1(RtCollectionPort aInterface, MappingContext aContext) throws KilimException
KilimException
public static void doWhenPlug(Component aComponent, ComponentSlot aSlot, MappingContext aContext) throws KilimException
aComponent
- :aSlot
- :aContext
- :
KilimException
- :
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |