Support load of extensions without specifying trailing $, see #2496

* Backwards compatible, i.e. still possible to use $
* DynamicAccess tries first with $ in getObjectFor, then falls back
  to fqcn as is
This commit is contained in:
Patrik Nordwall 2012-09-18 15:48:25 +02:00
parent 8420c35de0
commit 9ec7645617
6 changed files with 10 additions and 7 deletions

View file

@ -45,7 +45,7 @@ object ExtensionDocSpec {
val config = """
//#config
akka {
extensions = ["docs.extension.CountExtension$"]
extensions = ["docs.extension.CountExtension"]
}
//#config
"""