Given a spring bean that is configured with session scope such as:
@Component
@Scope(proxyMode=ScopedProxyMode.TARGET_CLASS,value=WebApplicationContext.SCOPE_SESSION)
public class SomeBean {
}
Is there some way to control the name that Spring will store the bean under in the http session?
By default spring seams to use the session key scopedTarget.someBean
is there anything I can add to the annotations to explicitly specify the attribute name in the Session?