User: jules_gosnell Date: 02/01/13 05:26:45 Modified: jetty/src/main/org/jboss/jetty JBossWebApplicationContext.java Jetty.java JettyService.java Removed: jetty/src/main/org/jboss/jetty AbstractHttpSessionData.java DistributedSessionManager.java JBossLogSink.java JBossUserRealm.java JettyResolver.java Log: split src into dirs check in latest DistributedSession code Revision Changes Path 1.14 +15 -7 contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java Index: JBossWebApplicationContext.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- JBossWebApplicationContext.java 2002/01/12 10:57:45 1.13 +++ JBossWebApplicationContext.java 2002/01/13 13:26:45 1.14 @@ -5,20 +5,26 @@ * See terms of license at gnu.org. */ -// $Id: JBossWebApplicationContext.java,v 1.13 2002/01/12 10:57:45 jules_gosnell Exp $ +// $Id: JBossWebApplicationContext.java,v 1.14 2002/01/13 13:26:45 jules_gosnell Exp $ // A Jetty HttpServer with the interface expected by JBoss' // J2EEDeployer... +//------------------------------------------------------------------------------ + package org.jboss.jetty; +//------------------------------------------------------------------------------ + import java.io.FileNotFoundException; import java.net.URL; import java.net.URLClassLoader; import javax.xml.parsers.DocumentBuilder; +import org.jboss.jetty.security.JBossUserRealm; +import org.jboss.jetty.session.DistributedHttpSessionManager; +import org.jboss.logging.Logger; import org.jboss.web.AbstractWebContainer.WebDescriptorParser; import org.jboss.web.WebApplication; -import org.jboss.logging.Logger; import org.mortbay.http.ContextLoader; import org.mortbay.http.HttpServer; import org.mortbay.http.handler.SecurityHandler; @@ -26,6 +32,8 @@ import org.mortbay.util.Resource; import org.w3c.dom.Element; +//------------------------------------------------------------------------------ + public class JBossWebApplicationContext extends WebApplicationContext @@ -112,12 +120,12 @@ "ejb-ref".equals(element)) { //_log.info("Don't moan : "+element); + } + else if ("distributable".equals(element)) + { + _distributed=true; + getServletHandler().setSessionManager(new DistributedHttpSessionManager(this)); } - // else if ("distributable".equals(element)) - // { - // _distributed=true; - // getServletHandler().setSessionManager(new DistributedSessionManager(this)); - // } // these are handled by Jetty else super.initWebXmlElement(element, node); 1.31 +10 -3 contrib/jetty/src/main/org/jboss/jetty/Jetty.java Index: Jetty.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/Jetty.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- Jetty.java 2001/12/09 06:05:49 1.30 +++ Jetty.java 2002/01/13 13:26:45 1.31 @@ -5,29 +5,36 @@ * See terms of license at gnu.org. */ -// $Id: Jetty.java,v 1.30 2001/12/09 06:05:49 user57 Exp $ +// $Id: Jetty.java,v 1.31 2002/01/13 13:26:45 jules_gosnell Exp $ // A Jetty HttpServer with the interface expected by JBoss' // J2EEDeployer... +//------------------------------------------------------------------------------ + package org.jboss.jetty; +//------------------------------------------------------------------------------ + import java.net.URL; import java.util.Hashtable; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.jboss.deployment.DeploymentException; +import org.jboss.jetty.xml.JettyResolver; +import org.jboss.logging.Logger; import org.jboss.web.AbstractWebContainer.WebDescriptorParser; import org.jboss.web.WebApplication; import org.mortbay.jetty.servlet.WebApplicationContext; -import org.jboss.logging.Logger; + +//------------------------------------------------------------------------------ /** * <description> * * @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a> * @author <a href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</a>. - * @version $Revision: 1.30 $ + * @version $Revision: 1.31 $ * * <p><b>Revisions:</b> * 1.37 +9 -5 contrib/jetty/src/main/org/jboss/jetty/JettyService.java Index: JettyService.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JettyService.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- JettyService.java 2002/01/03 04:00:55 1.36 +++ JettyService.java 2002/01/13 13:26:45 1.37 @@ -5,31 +5,35 @@ * See terms of license at gnu.org. */ -// $Id: JettyService.java,v 1.36 2002/01/03 04:00:55 user57 Exp $ +// $Id: JettyService.java,v 1.37 2002/01/13 13:26:45 jules_gosnell Exp $ +//------------------------------------------------------------------------------ + package org.jboss.jetty; +//------------------------------------------------------------------------------ + import java.io.IOException; import java.io.InputStream; import java.net.URL; import javax.management.MBeanRegistration; import javax.management.MBeanServer; import javax.management.ObjectName; - -import org.jboss.logging.Logger; import org.jboss.deployment.DeploymentException; +import org.jboss.jetty.log.JBossLogSink; +import org.jboss.logging.Logger; import org.jboss.web.AbstractWebContainer.WebDescriptorParser; import org.jboss.web.AbstractWebContainer; import org.jboss.web.WebApplication; - import org.mortbay.jetty.jmx.DebugMBean; import org.mortbay.util.Log; +//------------------------------------------------------------------------------ /** * A service to launch jetty from JMX. * * @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a> - * @version $Revision: 1.36 $ + * @version $Revision: 1.37 $ */ // NOTES
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development