changcheng / wro4j

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

DefaultWroManagerFactory doesn't implement WroConfigurationChangeListener #452

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I set my custom WroManagerFactory by init-param in web.xml it's wrapped by 
DefaultWroManagerFactory. Because DefaultWroManagerFactory doesn't implement 
ChangeListener, any call to cache or model reload is dropped.

Original issue reported on code.google.com by jabo...@gmail.com on 4 Jun 2012 at 9:19

GoogleCodeExporter commented 9 years ago
This is already fixed in branch 1.4.x. 
The fix contains the following change:
- WroManagerFactory interface extends the WroConfigurationChangeListener, thus 
all implementations of WroManagerFactory are listeners, including the 
DefaultWroManagerFactory.

Original comment by alex.obj...@gmail.com on 4 Jun 2012 at 10:19