I'm not a a spring expert, I just learned it quickly on the spot for the sake of the project I have inherited. I am not familiar with the bean method. In the project yes I can see that they do what you say, meaning instant intuit via a web listener. However I have no idea what is a bean method, where should it go. What does it has to do with the prommatically created spring. If you could please detail a bit the step and then point me to some doc, tutorial that would be great.
On Wed, Jun 10, 2015 at 7:22 AM Guido Medina <[email protected]> wrote: > 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 a topic in the > Google Groups "Akka User List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/akka-user/IWGAPnU4gdc/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- >>>>>>>>>> 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.
