Merge branch 'master' of git@github.com:jboner/akka and resolve conflicts in akka-spring

This commit is contained in:
Martin Krasser 2010-07-06 07:32:26 +02:00
commit ce84b386bf
7 changed files with 72 additions and 38 deletions

View file

@ -69,6 +69,10 @@ class ActiveObjectFactoryBeanTest extends Spec with ShouldMatchers {
var ctx = new ClassPathXmlApplicationContext("appContext.xml");
val target:ResourceEditor = ctx.getBean("bean").asInstanceOf[ResourceEditor]
assert(target.getSource === "someString")
val sampleBean = ctx.getBean("sample").asInstanceOf[SampleBean];
Thread.sleep(300)
assert(sampleBean.gotApplicationContext)
}
it("should stop the created active object when scope is singleton and the context is closed") {