|
From: <jon...@ya...> - 2004-02-09 15:50:43
|
Hi, I used to use M2, now M4. I suspect that something has changed between the two versions, with respect to the order in which beans that are declared in applicationContext.xml, are instantiated. Unfortunately I can't immediately check this as rolling back my changes are going to take a few hours. Can anybody confirm that this has taken place? Previously, I believe the syntactic order played a role (subject to dependency resolution). I have a nasty situation in which as my controllers are loaded, they register security information about themselves with a class. A "master" controller that needs to be loaded last, uses this registered information in its configuration. In M2 I placed this class last in the dispatcher-servlet.xml, and it got instantiated last. Is there anyway that I can specify this dependency, or change some Spring component to honour syntactic order as much as possible? Thanks Jon ___________________________________________________________ BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk |