org.objectweb.kilim.model.instanciation
Class NullInstanciationMger

java.lang.Object
  extended byorg.objectweb.kilim.model.instanciation.InstanciationMger
      extended byorg.objectweb.kilim.model.instanciation.NullInstanciationMger

public class NullInstanciationMger
extends InstanciationMger

Author:
horn

Constructor Summary
NullInstanciationMger()
           
 
Method Summary
 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

NullInstanciationMger

public NullInstanciationMger()
Method Detail

initializeInstanciation

public void initializeInstanciation(Component aComponent,
                                    ComponentInterface aInterface,
                                    MappingContext aContext)
                             throws KilimException
Description copied from class: InstanciationMger
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.

Specified by:
initializeInstanciation in class InstanciationMger
Parameters:
aComponent - : the component containing the interface
aInterface - : the accessed interface
aContext - : the mapping context
Throws:
KilimException - : generated by the instantiation manager in case of problems. These are specific to each manager.
See Also:
org.objectweb.kilim.model.InstanciationMger#initializeInstanciation(TemplateDescription)

finalizeInstanciation

public void finalizeInstanciation(Component aComponent,
                                  ComponentInterface aInterface,
                                  MappingContext aContext)
                           throws KilimException
Description copied from class: InstanciationMger
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.

Specified by:
finalizeInstanciation in class InstanciationMger
Parameters:
aComponent - : the component containing the interface
aInterface - : the accessed interface
aContext - : the mapping context
Throws:
KilimException - : generated by the instantiation manager in case of problems. These are specific to each manager.
See Also:
org.objectweb.kilim.model.InstanciationMger#finalizeInstanciation(Component)

initializePlug

public void initializePlug(Component aComponent,
                           ComponentSlot aSlot,
                           MappingContext aContext)
                    throws KilimException
Description copied from class: InstanciationMger
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.

Specified by:
initializePlug in class InstanciationMger
Parameters:
aComponent - : the component to be plugged
aSlot - : the slot
aContext - : the maping context
Throws:
KilimException - : generated by the instantiation manager in case of problems. These are specific to each manager.
See Also:
org.objectweb.kilim.model.services.InstanciationMger#prePlug(Component, ComponentSlot, MappingContext)

finalizePlug

public void finalizePlug(Component aComponent,
                         ComponentSlot aSlot,
                         MappingContext aContext)
                  throws KilimException
Description copied from class: InstanciationMger
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.

Specified by:
finalizePlug in class InstanciationMger
Parameters:
aComponent - : the component to be plugged
aSlot - : the slot
aContext - : the maping context
Throws:
KilimException - : generated by the instantiation manager in case of problems. These are specific to each manager.
See Also:
org.objectweb.kilim.model.services.InstanciationMger#postPlug(Component, ComponentSlot, MappingContext)