[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB lookup during server shutdown
Jason Greene
do-not-reply at jboss.com
Wed Mar 21 18:00:05 EDT 2012
Jason Greene [https://community.jboss.org/people/jason.greene] created the discussion
"Re: EJB lookup during server shutdown"
To view the discussion, visit: https://community.jboss.org/message/725440#725440
--------------------------------------------------------------
This is really a problem with the way EJB specs are written. The lifecycle is intentionally very loose to allow things like circular references. The problem is that if you allow circularity you can't have strict ordering. Singleton has a solution for this using @DependsOn. We are looking at opening this up for other bean types, but it would of course be a proprietary feature.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/725440#725440]
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/d3868331/attachment.html
More information about the jboss-dev-forums
mailing list