tamago.ext.tamagocc
Interface TamagoCCComponent

All Superinterfaces:
RequireServiceNaming, TamagoCCEntity
All Known Subinterfaces:
TamagoCCComposite, TamagoCCContainer, TamagoCCContainerComposite
All Known Implementing Classes:
TamagoCCContainerImpl

public interface TamagoCCComponent
extends TamagoCCEntity, RequireServiceNaming


Method Summary
 void core_set_properties(java.lang.String property, java.lang.Object value)
          This Method is used when the container must change the underlying implementation.
 
Methods inherited from interface tamago.ext.tamagocc.RequireServiceNaming
bind
 

Method Detail

core_set_properties

void core_set_properties(java.lang.String property,
                         java.lang.Object value)
                         throws TamagoCCHotSwappingException
This Method is used when the container must change the underlying implementation. The first step is to lock the component (container role), and to re-inject the new observable entity to the new implementation. Then the new implementation (which knows the semantic of the component) can react. If an error occur the method can throw the TamagoCCHotSwappingException exception in order to indicate the error.

Parameters:
property - : name of the property specified in the contract
value - : value of the property in the previous implementation.
Throws:
TamagoCCHotSwappingException