[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB lookup during server shutdown

Stuart Douglas do-not-reply at jboss.com
Wed Mar 21 18:05:32 EDT 2012


Stuart Douglas [https://community.jboss.org/people/swd847] created the discussion

"Re: EJB lookup during server shutdown"

To view the discussion, visit: https://community.jboss.org/message/725443#725443

--------------------------------------------------------------
In AS 7.1.1 you can use @DependsOn for singleton beans, to make sure that other EJB's don't shut down until the the singleton has shut down. Even though the spec says that you can only use this to reference other singleton beans, we have expanded this so you can reference any type of bean.  

In AS7 upstream I have added a feature where you can use use @DependsOn on any session bean (not just singletons), AS7 upstream also has some other fixes to make sure that the EJB Client context does not shut down until all EJB's have shut down.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/725443#725443]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120321/65cf5377/attachment.html 


More information about the jboss-dev-forums mailing list