-
1. Re: Asynchronous call before App Startup
christian.bauer Jul 25, 2007 12:07 PM (in response to damatrix)Write an application scoped component that listens for the following event on a method that starts the async procedure:
@Observer("org.jboss.seam.postInitialization") -
2. Re: Asynchronous call before App Startup
monkeyden Jul 25, 2007 12:59 PM (in response to damatrix)Is this available in 1.2.1? I searched the source tree but didn't find it.
Don't mean to bogart the thread but...
I will try it myself of course but will this work for an EVENT scoped object? I want a component which will start when the application starts and outject some stuff. The reason I want it to be event scope is that once it does it's work, I don't need it anymore. -
3. Re: Asynchronous call before App Startup
damatrix Jul 30, 2007 5:02 AM (in response to damatrix)Hi,
I've tried the @Observer annotation on an application scope seam compnonent, and i realise that it is still not being called after startup.
I've done a search through the seam code and i seam not to find any event being raised by the name "org.jboss.seam.postInitilization" which my method would then observe.
Is there any other way to do this or am i missing something. Debugging shows that my annotated method is not called at all.