I am moving from an xml config to annoations. i want to convert a session scoped bean that is
<aop:scoped-proxy>
can this be done with annotations, and if not, what can i do to still keep that declaration working?
edit: I am interested in doing this in Spring 2.5
In Spring 3.0 it can be specified by the proxyMode
attribute of @Scope
annotation:
@Scope(value = "session", proxyMode = ScopedProxyMode.INTERFACES)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With