Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

[12:42:27 CDT(-0500)] <athena> hey EricDalquist - i'm having some issues using the spring echache annotations library
[12:42:34 CDT(-0500)] <EricDalquist> ok
[12:42:37 CDT(-0500)] <EricDalquist> what's up?
[12:42:49 CDT(-0500)] <athena> not quite sure - seems like now my class isn't getting autowired anymore
[12:42:56 CDT(-0500)] <athena> any ideas what might be causing that?
[12:43:04 CDT(-0500)] <EricDalquist> hrm
[12:43:05 CDT(-0500)] <athena> does it create a second instance of the class or something like that?
[12:43:14 CDT(-0500)] <EricDalquist> no, it should just add a proxy wrapper
[12:43:28 CDT(-0500)] <EricDalquist> the class is defined by an interface?
[12:43:33 CDT(-0500)] <EricDalquist> and you're autowiring the interface?
[12:43:35 CDT(-0500)] <athena> ah.
[12:43:35 CDT(-0500)] <athena> ok
[12:43:46 CDT(-0500)] <athena> had hacked this to actually expect the real class
[12:43:50 CDT(-0500)] <athena> i'll just create a sub-interface
[12:43:51 CDT(-0500)] <athena> thanks (smile)
[12:43:52 CDT(-0500)] <EricDalquist> yeah
[12:43:56 CDT(-0500)] <athena> that makes sense now
[12:43:57 CDT(-0500)] <EricDalquist> you have to include cglib
[12:44:04 CDT(-0500)] <EricDalquist> and turn on class-rewriting to do that
[12:44:07 CDT(-0500)] <athena> gotcha
[12:44:13 CDT(-0500)] <athena> no worries - easy enough to have a subinterface
[12:44:15 CDT(-0500)] <athena> and better anyway

  • No labels