Author: kpreisser Date: Wed Oct 16 13:59:44 2013 New Revision: 1532770 URL: http://svn.apache.org/r1532770 Log: Merged revision(s) 1532765-1532766 from tomcat/trunk: Restore the ServletContextListener for the Drawboard example to be able to shutdown the Room (dispose of Graphics2D) when the Context is destroyed.
Added: tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.java - copied unchanged from r1532766, tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.java Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml Propchange: tomcat/tc7.0.x/trunk/ ------------------------------------------------------------------------------ Merged /tomcat/trunk:r1532765-1532766 Modified: tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml?rev=1532770&r1=1532769&r2=1532770&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml Wed Oct 16 13:59:44 2013 @@ -399,4 +399,9 @@ <servlet-name>wsSnake</servlet-name> <url-pattern>/websocket/tc7/snake</url-pattern> </servlet-mapping> + <!-- Websocket examples --> + <listener> + <listener-class>websocket.drawboard.DrawboardContextListener</listener-class> + </listener> + </web-app> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org