Updated to latest config lib and changed how reference config files are loaded.
* Config lib 4f3a91f * All reference files named reference.conf, all will be loaded * Usage of ConfigFactor.load as default way * Extensions use same config as ActorSystem.settings.config
This commit is contained in:
parent
8ab25a23ac
commit
b56201ab7f
72 changed files with 2361 additions and 977 deletions
|
|
@ -7,7 +7,6 @@ import org.junit.Test;
|
|||
|
||||
import com.typesafe.config.ConfigFactory;
|
||||
import com.typesafe.config.Config;
|
||||
import com.typesafe.config.ConfigParseOptions;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
|
@ -26,14 +25,14 @@ public class JavaExtension {
|
|||
}
|
||||
|
||||
static class TestExtension implements Extension {
|
||||
public final ActorSystemImpl system;
|
||||
public TestExtension(ActorSystemImpl i) {
|
||||
system = i;
|
||||
}
|
||||
public final ActorSystemImpl system;
|
||||
|
||||
public TestExtension(ActorSystemImpl i) {
|
||||
system = i;
|
||||
}
|
||||
}
|
||||
|
||||
private Config c = ConfigFactory.parseString("akka.extensions = [ \"akka.actor.JavaExtension$Provider\" ]",
|
||||
ConfigParseOptions.defaults());
|
||||
private Config c = ConfigFactory.parseString("akka.extensions = [ \"akka.actor.JavaExtension$Provider\" ]");
|
||||
|
||||
private ActorSystem system = ActorSystem.create("JavaExtension", c);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue