Support multiple service models for a component. WindsorServiceHostFactory will...
[castle.git] / Facilities / FactorySupport / configfactory.xml
blob177bfce914a1086ce61320467ceb6b6232b2282f
1 <?xml version="1.0" encoding="utf-8" ?> 
3 <configuration>
5         <facilities>
6         
7                 <facility 
8                         id="factorysupport" 
9                         type="Castle.Facilities.FactorySupport.FactorySupportFacility, Castle.MicroKernel" />
10         
11         </facilities>
13         <components>
15                 <component id="mycompfactory" 
16                         type="Castle.Facilities.FactorySupport.Tests.Components.MyCompFactory, Castle.Facilities.FactorySupport.Tests"/>
18                 <component id="mycomp" 
19                         type="Castle.Facilities.FactorySupport.Tests.Components.MyComp, Castle.Facilities.FactorySupport.Tests"
20                         factoryId="mycompfactory" factoryCreate="Create">
21                         
22                 </component>
24         </components>
26 </configuration>