@Override public void afterPropertiesSet() throws Exception { configurableBeanFactory.registerScope("session", new SimpleThreadScope()); }