We could easily fire it in CdiCtrl. We could also easily fire it in JSF environments.
Not sure about Servlet only stuff as we dont have the ContextInitialized order under our control. We could allow users to fire that event if they know what to do. There is a feature request to EE since 4 years about such a general 'server is started' callback. Till now it got completely ignored. LieGrue, strub ----- Original Message ----- > From: Romain Manni-Bucau <[email protected]> > To: [email protected] > Cc: > Sent: Tuesday, October 16, 2012 8:23 AM > Subject: @Startup like? > > Hi guys, > > after a talk with Charles i wonder if we couldn't add a kind of > @Startup/@LoadOnStartupĀ feature to DS. > > The idea could be to for the init of some bean with the last cdi event at > startup. > > It could be used to force some init in standalone (cdictrl) or without > being dependent of the environment (JSE, JEE, Web...) > > wdyt? > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: > **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* >
