listener

来源:互联网 发布:系统监控软件 编辑:程序博客网 时间:2024/05/01 12:27

 <listener>
  <listener-class>
   org.springframework.web.context.request.RequestContextListener
  </listener-class>
 </listener>

 

 

<listener>
  <listener-class>
   org.springframework.web.context.ContextLoaderListener
  </listener-class>
 </listener>

 

 

 <bean id="userPreferences" class="com.foo.UserPreferences" scope="session">          <!-- this next element effects the proxying of the surrounding bean -->          <aop:scoped-proxy/>  </bean>

 

原创粉丝点击