From: Ritu S. <sf...@us...> - 2004-07-14 14:08:08
|
Update of /cvsroot/smartfrog/core/components/jetty/src/org/smartfrog/services/jetty/contexts/handlers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5754/src/org/smartfrog/services/jetty/contexts/handlers Modified Files: HandlerImpl.java Log Message: no message Index: HandlerImpl.java =================================================================== RCS file: /cvsroot/smartfrog/core/components/jetty/src/org/smartfrog/services/jetty/contexts/handlers/HandlerImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HandlerImpl.java 21 Jun 2004 23:41:14 -0000 1.1 --- HandlerImpl.java 14 Jul 2004 14:07:57 -0000 1.2 *************** *** 26,29 **** --- 26,30 ---- import org.smartfrog.services.jetty.JettyHelper; import org.mortbay.http.HttpHandler; + import org.mortbay.jetty.servlet.ServletHttpContext; import java.rmi.RemoteException; *************** *** 47,51 **** */ protected void addHandler(HttpHandler handler) throws SmartFrogException, RemoteException { ! jettyHelper.addHandler(handler); } --- 48,54 ---- */ protected void addHandler(HttpHandler handler) throws SmartFrogException, RemoteException { ! ServletHttpContext cxt; ! cxt=jettyHelper.getServletContext(true); ! cxt.addHandler(handler); } |