title: Castle windsor : how to not to load all components in a castle windsor xml configuration when "Resolve" is called
body: <p>I would like to use "strategy pattern" with 2 Web projects, my configuration file (and only with configuration file) :</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;components&gt;
        &lt;!-- container ORM --&gt;
        &lt;component id="DALReseauContainer"  type="ReseauRules.Db.BLL.DbReseauWorkingContextContainer, ReseauRules"                       service="ReseauConnector.BLL.IReseauWorkingContextContainer, ReseauConnector"&gt;        
        &lt;/component&gt;
  
        &lt;!-- remote controler (Web Service) --&gt;
        &lt;component id="remoteReseauManager"
                   type="ReseauConnector.BLL.RemoteReseauManager, ReseauConnector"
                   service="ReseauConnector.BLL.IReseauManager, ReseauConnector"
                   lifestyle="transient"&gt;        
        &lt;/component&gt;
  
        &lt;!-- local controler  --&gt;
        &lt;component id="localReseauManager"
                   type="ReseauRules.Db.BLL.DbReseauManager, ReseauRules"
                   service="ReseauConnector.BLL.IReseauManager, ReseauConnector"
                   lifestyle="transient"&gt;
          &lt;parameters&gt;
            &lt;container&gt;${DALReseauContainer}&lt;/container&gt;
          &lt;/parameters&gt;
        &lt;/component&gt;
      &lt;/components&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>project A uses "remoteReseauManager" and references only ReseauConnector, can call </p>
  
  <pre><code>container.Resolve&lt;IReseauManager&gt;("remoteReseauManager");
  </code></pre>
  
  <p>project B uses "localReseauManager" and references ReseauConnector AND ReseauRules, can call  </p>
  
  <pre><code>container.Resolve&lt;IReseauManager&gt;("localReseauManager");
  </code></pre>
  
  <p>when I call </p>
  
  <pre><code>IWindsorContainer container = new WindsorContainer(new Castle.Windsor.Configuration.Interpreters.XmlInterpreter()); 
  </code></pre>
  
  <p>Windsor tries to resolve each components, and as in project A,ReseauRules does not exist, Windsor can't load ReseauRules (as expected).</p>
  
  <p>How to tell to Windsor do not load a component in this context (configuration file)  ?</p>
  
  <p>Thanks a lot.</p>