If you are starting Spring within Tomcat I would recommend you to have the Spring programmatic-ally created and instantiated via @WebListener, then create your @Bean method returning your singleton ActorSystem, within your method you can tweak aspects like configuration, where to load it from, etc etc
On Tuesday, June 9, 2015 at 10:50:11 PM UTC+1, Maatary Okouya wrote: > > Hi, I do not wished to instantiate actor from the bean, but just an actor > system. > > > The only solution i see so far is to wrap, the actor system in an > ActorSystemBen and provide a getActorsystem method to it. The point is, > from this bean i can call ActorSystem() apply method. > > > Is there something more elegant or better ? > > > Best, > > M > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
