[@Controller](https://my.oschina.net/u/1774615)
//把这个bean 的范围设置成session,表示这bean是会话级别的,
@Scope("session")
public class XxxController{
private List<String> list ;
//@PostConstruct当bean加载完之后,就会执行init方法,并且将list实例化;
@PostConstruct
public void init(){
list = new ArrayList<String>();
}
}
System.setProperty("accessToken", "");
System.getProperty("accessToken");