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&...]