I have a non-Seam component that implements the ServletContextListener interface that is
dependent upon Seam components being injected. However, it appears that Seam hasn't
fully activated any contexts at the time that my Listener is called from the container.
This is a major problem for me and causes me to question using Seam since I will now have
to refactor my previously Seamed components to work in a non-Seam environment...these
components are infrastructural in nature (PersistenceFacade, etc) ..so if I have to go
through the hassle of constructing them normally, why use Seam?
If anyone has a workaround, this would be great. The @Startup annotation might be
helpful, but it only guarantees construction, not execution.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127098#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...