Hi all, I have a quick question concerning Tapestry IOC. I'm currently integrating Akka into one of my applications. In order to use it with a DI container, I created a IndirectActorProducer which uses the autobuild() method of ObjectLocator, in order to create a new actor object whenever produce is triggered (a requirement by Akka). Service injections are also fulfilled by autobuild(). So far so good. Then I tried to use the @CommitAfter annotation from JPA module. Because the of the fact, that the objects created with autobuild() aren't services, the commit isn't triggered. @Match("*Actor") advisor doesn't work as well.
How can advise a method in an object created with autobuild() ? Do I need to create a new IOC scope or can I use Plastic somehow? Docs to use Akka with DI: http://doc.akka.io/docs/akka/2.2.3/java/untyped-actors.html#Dependency_Injection ​Thanks a lot in advance for all your inputs! Best, Thilo