ismorodin / ehcache-spring-annotations

Automatically exported from code.google.com/p/ehcache-spring-annotations
0 stars 0 forks source link

BeanFactory doesn't return cacheable proxies #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the attached sample projects
2. SimpleAppTest fails
3. AutowiredAppTest succeeds, while being the same, but apparently not....

What is the expected output? What do you see instead?
I would expect getting references to bean through the BeanFactory would provide 
cached methods beans.... 
This comes from the ehcache forum @ 
http://forums.terracotta.org/forums/posts/list/4352.page

What version of the product are you using? On what operating system?
1.1.2 on the soon to be deprecated OS X 10.6.4 ;-)

Please provide any additional information below.
http://forums.terracotta.org/forums/posts/list/4352.page

Original issue reported on code.google.com by alex.sn...@gmail.com on 25 Oct 2010 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
I think this illustrates even better the different behaviors encountered 
depending on the wiring.

Original comment by alex.sn...@gmail.com on 25 Oct 2010 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
Spring's XmlBeanFactory has no support for features such as annotation based 
proxies. You must use a class that implements ApplicationContext to use this 
library.

Original comment by eric.dalquist on 25 Oct 2010 at 4:13

GoogleCodeExporter commented 9 years ago
Cool, maybe that's something that should be better documented... But at least I 
know how to answer forum posts on our side :)

Original comment by alex.sn...@gmail.com on 25 Oct 2010 at 4:19

GoogleCodeExporter commented 9 years ago
I'll make a note to add that to our docs!

Original comment by eric.dalquist on 25 Oct 2010 at 4:35