jboner/akka — comment on commit 603a8ed034f0489cb1330e81d1159640b9432e16
File: akka-actor/src/main/scala/akka/actor/Extension.scala line 29
By patriknw:

I don't agree that extensions must be defined in config, i.e. loaded before
use. I think on demand registration is very good, especially for our built
in extensions. To use an extension the user only needs to add the jar
dependency and don't care about adding special configuration.

On Fri, Nov 25, 2011 at 11:00 AM, Roland Kuhn <
reply@reply.github.com
> wrote:

> My opinion is that BOTH of them should throw an exception.
> ExtensionId.apply() should only work after having registered the extension.
> Alternatively we could go completely the other way and remove
> loadExtensions() completely, instead relying only on JIT-registration. But
> that has the duplicate extension problem unless we take special care (and
> Im not even sure what that means).
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/jboner/akka/commit/603a8ed034f0489cb1330e81d1159640b9432e16#commitcomment-745865
>

--

Patrik Nordwall
Typesafe - Enterprise-Grade Scala from the Experts
Twitter: @patriknw