I have a case where I'd like to use a CGLIB proxy for a particular class, but not all classes. I read that it was possible using

Code:
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
but this doesn't seem to work properly. Is there any additional configs that I need in my application context for this to be recognized?

Just for more information, I'm trying to do this because this class does not have an interface and is autowried into another using the class. I will most likely look to add an interface to this but I am curious as to why this approach doesn't work. Any help would be appreciated.