Then anywhere in application (including axis2 handlers and CallbackHandler)
I can call
MyContextLoaderListener.getWebApplicationContext() and the
spring beans can be accessed.
Is this so bad solution? Any better ideas?
That's pretty much the idea and what most people end up doing. My only
suggestion is to use the ApplicationContextAware interface and create
a bean that holds the reference for your app ctx - just access it via
a static method. That way you don't need to mess around with the
servlet context. See the Axis2 1.1 spring tutorial and the src distro
for some tips.
HTH,
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]