[jboss-user] [JBoss Seam] - Re: Injection at destroy time

gavin.king@jboss.com do-not-reply at jboss.com
Fri Dec 1 19:03:30 EST 2006


Seam components are never instantiated during a call to a @Destroy method. It would be _really_bad_ if they were.

NEVER try to create a Seam component using "new"! (Except in unit tests.) Use Component.getInstance().

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990694#3990694

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990694



More information about the jboss-user mailing list