title: How do I Instantiate component as Singleton at registration?
body: <p>I can imagine this might be quite straight forward to do in Castle but I'm new to the technology and have been Googling for hours with no luck!</p>
  
  <p>I have the following:</p>
  
  <pre><code>container.Register(
  Component.For&lt;MySpecialClass&gt;().UsingFactoryMethod(
      () =&gt; new MySpecialClass()).LifeStyle.Singleton);
  </code></pre>
  
  <p>Now quite rightly this is being lazy-loaded, i.e. the lambda expression passed in to UsingFactoryMethod() isn't being executed until I actually ask Castle to Resolve me the instance of the class.</p>
  
  <p>But I would like Castle to create the instance as soon as I have registered it. Is this possible?</p>