Can an inner class be declared as a bean?...
<bean id="myThingSyncLock"
class="com.moo.MyThing$SyncLock"/>
What I'm trying to do is synchronize cache access from a non-singleton bean. I want to use IoC to pass in an application-context scoped singleton that can be used as a lock. Using an inner class would make the code cleaner, I think.
Thanks,
boz


Reply With Quote