frontend.composite 2.46 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
Nicolas Dolet's avatar
Nicolas Dolet committed
2
<!--  OW2 FraSCAti Assembly Factory Examples: Comanche                              -->
Philippe Merle's avatar
Philippe Merle committed
3
<!--  Copyright (C) 2008-2010 INRIA, University of Lille 1                          -->
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!--                                                                                -->
<!--  This library is free software; you can redistribute it and/or                 -->
<!--  modify it under the terms of the GNU Lesser General Public                    -->
<!--  License as published by the Free Software Foundation; either                  -->
<!--  version 2 of the License, or (at your option) any later version.              -->
<!--                                                                                -->
<!--  This library is distributed in the hope that it will be useful,               -->
<!--  but WITHOUT ANY WARRANTY; without even the implied warranty of                -->
<!--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             -->
<!--  Lesser General Public License for more details.                               -->
<!--                                                                                -->
<!--  You should have received a copy of the GNU Lesser General Public              -->
<!--  License along with this library; if not, write to the Free Software           -->
<!--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     -->
<!--                                                                                -->
Nicolas Dolet's avatar
Typos  
Nicolas Dolet committed
19
<!--  Contact: frascati@ow2.org                                                     -->
20 21
<!--                                                                                -->
<!--  Author: Nicolas Pessemier                                                     -->
Nicolas Dolet's avatar
Nicolas Dolet committed
22 23
<!--                                                                                -->
<!--  Contributor(s): Nicolas Dolet                                                 -->
24

Nicolas Dolet's avatar
Nicolas Dolet committed
25
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" name="frontend">
26

Nicolas Dolet's avatar
Nicolas Dolet committed
27
  <service name="r" promote="requestReceiver/Runnable" />
28

Nicolas Dolet's avatar
Nicolas Dolet committed
29
  <reference name="rh" promote="requestReceiver/rh" />
30

Nicolas Dolet's avatar
Nicolas Dolet committed
31
  <component name="requestReceiver">
32
    <implementation.java class="org.ow2.frascati.examples.comanche.RequestReceiver" />
Nicolas Dolet's avatar
Nicolas Dolet committed
33
  </component>
34

Nicolas Dolet's avatar
Nicolas Dolet committed
35
  <component name="scheduler">
36
    <implementation.java class="org.ow2.frascati.examples.comanche.MultiThreadScheduler" />
Nicolas Dolet's avatar
Nicolas Dolet committed
37
  </component>
38

Nicolas Dolet's avatar
Nicolas Dolet committed
39
  <wire source="requestReceiver/s" target="scheduler/Scheduler" />
40 41

</composite>