>
<p>By default, registrations are treated as "singletons". This simply means that
an instance will be created when it is first looked up, and this same instance
will be cached and returned from subsequent lookups.</p>
<p>When you want fresh objects to be created for every lookup, register your
factories as non-singletons using the <code>singleton: false</code> option.</p>
<p>In the following example, the <code>Message</code> class is registered as a non-singleton:</p>
<div class="filename javascript"><div 