aungmyo / impala

Automatically exported from code.google.com/p/impala
0 stars 0 forks source link

Publish module level root application context for web modules #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as of r4677

Web framework integration often requires access to
WebApplicationContextUtils.getRootApplicationContext. 

This is accomplished by 
ImpalaServletUtils.publishRootModuleContext(servletContext, moduleName,
applicationContext)

However, this method needs to be called before context loading to make web
framework integration easier, and to be reversed if context loading fails
for that module.

Could be tied to modules of type 'web' by default.

Original issue reported on code.google.com by philzoio...@googlemail.com on 2 Oct 2009 at 8:22

GoogleCodeExporter commented 9 years ago
Might be good to attempt to impose an ordering so that web framework servlets 
get
loaded last

Original comment by philzoio...@googlemail.com on 2 Oct 2009 at 8:24

GoogleCodeExporter commented 9 years ago
Fixed with r4683

Original comment by philzoio...@googlemail.com on 6 Oct 2009 at 4:06