<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:metrics="http://www.ryantenney.com/schema/metrics"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:websocket="http://www.springframework.org/schema/websocket"
	xsi:schemaLocation="http://www.springframework.org/schema/beans    
                        http://www.springframework.org/schema/beans/spring-beans-3.2.xsd    
                        http://www.springframework.org/schema/context    
                        http://www.springframework.org/schema/context/spring-context-3.2.xsd    
                        http://www.springframework.org/schema/websocket 
                        http://www.springframework.org/schema/websocket/spring-websocket.xsd
                        ">
	<!-- http://blog.csdn.net/gisredevelopment/article/details/38392629 -->
	<!-- websocket通信配置-->
	<websocket:handlers>
		<websocket:mapping path="/ws" handler="myHandler" />
		<websocket:handshake-interceptors>  
	    	<bean class="cn.netbuffer.ssmbootstrap_table.interceptor.HandshakeInterceptor"/>
	    </websocket:handshake-interceptors>
	</websocket:handlers>
	<websocket:handlers>
		<websocket:mapping path="/wsockjs" handler="myHandler" />
		<websocket:sockjs />
	</websocket:handlers>
	<bean id="myHandler"
		class="cn.netbuffer.ssmbootstrap_table.websocket.MySpringTextWsHandler" />
</beans>