Fix the build.
[castle.git] / Samples / Facilities / EventWiring / config.xml
blobdabb98a1e935117f8a08fe9c3a7a00e732f83d53
1 <?xml version="1.0" encoding="utf-8" ?> \r
2 \r
3 <configuration>\r
4         <!-- \r
5                 Please note the usage of service and type attributes.\r
6                 Windsor will automatically installs the components and \r
7                 facilities with a type attribute (and optionally service \r
8                 for components)\r
9         -->\r
10         \r
11         <facilities>\r
13                 <facility\r
14                         id="event.wiring"\r
15                         type="Castle.Facilities.EventWiring.EventWiringFacility, Castle.MicroKernel" />\r
17         </facilities>\r
19     <components>\r
21                 <component\r
22             id="publisher.component"\r
23             type="EventWiring.SimplePublisher, EventWiring">\r
24                         \r
25                         <subscribers>\r
26                                 <subscriber id="listener.component"\r
27                                                         event="Event"\r
28                                                         handler="OnPublishEvent"/>\r
29                         </subscribers>\r
30                 </component>\r
32                 <component\r
33             id="listener.component"\r
34             type="EventWiring.SimpleListener, EventWiring" />\r
35                 \r
36     </components>\r
38 </configuration>