Cilia/Spec

From Wiki Adele Team
Jump to: navigation, search

Cilia core

Types definition

<processor-type name="aProcessor" classname="fr.liglab...."/>




<mediator-type name="mtype">
  <scheduler type="aScheduler">
    <property name="p1" value="default_v1"/>
  </scheduler>
  <processor classname="fr.liglab..." />
  <dispatcher type="aDispatcher"/>
</mediator-type>

Instantiation

<mediator type="mtype" id="mtype-id-1">
  <scheduler>
    <property name="timeout" value="1000"/>
  </scheduler>
  <processor>
    <property name="separator" value="/"/>
  </processor>
  <dispatcher>
	<property name="language" value="ldap"/>
	<property name="conditions">
		<item key="(a > b)" value="portD"/>
	</property name="conditions">
	<property name="route-list">
		<item value="portC"/>
		<item value="portD"/>
	</property name="conditions">
  </dispatcher>
</mediator>

a Cilia extension

Types definition

the same!

Instantiation