Quoting MarkusSchulz <[EMAIL PROTECTED]>: > No i don't want to inject beans, I'd like to get list of them from > applicationContext.xml in some java method(not inject them into page, but > pass them into some service).
I wasn't saying that you should inject something into a page, but into a service (via hivemodule). Anyway, you can create a bean that implements ApplicationContextAware (say applicationContextContainerBean) and inject this bean as described earlier and get the application context via this bean. Maybe this is not the most elegant way, but the first one that comes to my mind. What do you need spring's application context for in a service, anyway? Regards, Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
