aungmyo / impala

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

Clarify the usage of the WebApplicationContext root attribute #294

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as of r5209

The root application context attribute only needs to be set for web modules
using the qualified root application context attribute name.

It does not need to be set for the "root" module. 

This will allow Impala to co-exist more easily with existing vanilla spring
application

Original issue reported on code.google.com by philzoio...@googlemail.com on 12 Jan 2010 at 9:44

GoogleCodeExporter commented 9 years ago
Fixed as of r5240

Now the root application context is simply the original Spring application 
context. 

Web modules, in addition, will export their ApplicationContext under the key 
based on
Spring's original root context key, modified for the module name and 
application id. 

With r5240 - added ApplicationContextExporter, to allow module's application 
context
to be exported against a particular key

Original comment by philzoio...@googlemail.com on 31 Jan 2010 at 8:12