User: jules_gosnell
Date: 01/09/17 16:10:57
Modified: jetty/src/main/org/jboss/jetty Tag: Branch_2_4
JBossLogSink.java JBossUserRealm.java Jetty.java
JettyMBean.java JettyResolver.java
SetupHandler.java
Log:
share src between 2.4 and 3.0
Revision Changes Path
No revision
No revision
1.2.2.2 +4 -7 contrib/jetty/src/main/org/jboss/jetty/JBossLogSink.java
Index: JBossLogSink.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossLogSink.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- JBossLogSink.java 2001/09/15 13:14:59 1.2.2.1
+++ JBossLogSink.java 2001/09/17 23:10:57 1.2.2.2
@@ -1,6 +1,3 @@
-// ========================================================================
-// $Id: JBossLogSink.java,v 1.2.2.1 2001/09/15 13:14:59 jules_gosnell Exp $
-// ========================================================================
/*
* jBoss, the OpenSource EJB server
*
@@ -8,16 +5,16 @@
* See terms of license at gnu.org.
*/
-// $Id: JBossLogSink.java,v 1.2.2.1 2001/09/15 13:14:59 jules_gosnell Exp $
+// $Id: JBossLogSink.java,v 1.2.2.2 2001/09/17 23:10:57 jules_gosnell Exp $
package org.jboss.jetty;
+import java.util.HashMap;
+import org.apache.log4j.Category;
import org.mortbay.util.Code;
import org.mortbay.util.Frame;
import org.mortbay.util.Log;
import org.mortbay.util.LogSink;
-import java.util.HashMap;
-import org.apache.log4j.Category;
/* ------------------------------------------------------------ */
@@ -25,7 +22,7 @@
* This class bidges the API between Jetty and Log4J.
*
* @author <a href="mailto:">Jules Gosnell</a>
- * @version $Id: JBossLogSink.java,v 1.2.2.1 2001/09/15 13:14:59 jules_gosnell Exp $
+ * @version $Id: JBossLogSink.java,v 1.2.2.2 2001/09/17 23:10:57 jules_gosnell Exp $
* @since 1.0
* @see org.mortbay.util.LogSink
*/
1.2.2.2 +12 -6 contrib/jetty/src/main/org/jboss/jetty/JBossUserRealm.java
Index: JBossUserRealm.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossUserRealm.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- JBossUserRealm.java 2001/09/15 13:14:59 1.2.2.1
+++ JBossUserRealm.java 2001/09/17 23:10:57 1.2.2.2
@@ -1,3 +1,12 @@
+/*
+ * jBoss, the OpenSource EJB server
+ *
+ * Distributable under GPL license.
+ * See terms of license at gnu.org.
+ */
+
+// $Id: JBossUserRealm.java,v 1.2.2.2 2001/09/17 23:10:57 jules_gosnell Exp $
+
package org.jboss.jetty;
import java.util.HashSet;
@@ -12,14 +21,11 @@
import org.mortbay.http.HttpRequest;
import org.mortbay.http.UserPrincipal;
import org.mortbay.http.UserRealm;
-
-// $Id: JBossUserRealm.java,v 1.2.2.1 2001/09/15 13:14:59 jules_gosnell Exp $
-
-/** An implementation of UserRealm that integrates with the JBossSX security
-manager associted with the web application.
+/** An implementation of UserRealm that integrates with the JBossSX
+ * security manager associted with the web application.
* @author [EMAIL PROTECTED]
- * @version $Revision: 1.2.2.1 $
+ * @version $Revision: 1.2.2.2 $
*/
public class JBossUserRealm
implements UserRealm
1.9.2.4 +4 -4 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.9.2.3
retrieving revision 1.9.2.4
diff -u -r1.9.2.3 -r1.9.2.4
--- Jetty.java 2001/09/15 13:14:59 1.9.2.3
+++ Jetty.java 2001/09/17 23:10:57 1.9.2.4
@@ -5,16 +5,13 @@
* See terms of license at gnu.org.
*/
-// $Id: Jetty.java,v 1.9.2.3 2001/09/15 13:14:59 jules_gosnell Exp $
+// $Id: Jetty.java,v 1.9.2.4 2001/09/17 23:10:57 jules_gosnell Exp $
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
package org.jboss.jetty;
-import org.mortbay.http.HttpHandler;
-import org.mortbay.jetty.servlet.WebApplicationContext;
-import org.mortbay.util.Resource;
import java.io.FileNotFoundException;
import java.net.URL;
import java.util.HashMap;
@@ -24,6 +21,9 @@
import org.jboss.ejb.DeploymentException;
import org.jboss.web.AbstractWebContainer.WebDescriptorParser;
import org.jboss.web.WebApplication;
+import org.mortbay.http.HttpHandler;
+import org.mortbay.jetty.servlet.WebApplicationContext;
+import org.mortbay.util.Resource;
public class Jetty
extends org.mortbay.jetty.Server
1.2.2.2 +1 -1 contrib/jetty/src/main/org/jboss/jetty/JettyMBean.java
Index: JettyMBean.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JettyMBean.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
1.1.6.2 +1 -1 contrib/jetty/src/main/org/jboss/jetty/JettyResolver.java
Index: JettyResolver.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JettyResolver.java,v
retrieving revision 1.1.6.1
retrieving revision 1.1.6.2
diff -u -r1.1.6.1 -r1.1.6.2
1.4.2.2 +9 -7 contrib/jetty/src/main/org/jboss/jetty/SetupHandler.java
Index: SetupHandler.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/SetupHandler.java,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- SetupHandler.java 2001/09/15 13:14:59 1.4.2.1
+++ SetupHandler.java 2001/09/17 23:10:57 1.4.2.2
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: SetupHandler.java,v 1.4.2.1 2001/09/15 13:14:59 jules_gosnell Exp $
+// $Id: SetupHandler.java,v 1.4.2.2 2001/09/17 23:10:57 jules_gosnell Exp $
package org.jboss.jetty;
@@ -26,7 +26,7 @@
* so that is sees the correct class loader and security realm name.
*
* @author [EMAIL PROTECTED]
- * @version $Revision: 1.4.2.1 $
+ * @version $Revision: 1.4.2.2 $
*/
public class SetupHandler
extends NullHandler
@@ -37,9 +37,10 @@
//----------------------------------------------------------------------
- public SetupHandler(Category log,
- WebDescriptorParser descriptorParser,
- WebApplication webApp)
+ public
+ SetupHandler(Category log,
+ WebDescriptorParser descriptorParser,
+ WebApplication webApp)
{
_log = log;
_descriptorParser = descriptorParser;
@@ -71,8 +72,9 @@
//----------------------------------------------------------------------
- // does nothing - we are only interested in start()...
-
+ /**
+ * Does nothing - we are only interested in {@link #start}.
+ */
public void
handle(String pathInContext, String pathParams, HttpRequest request,
HttpResponse response)
throws HttpException, IOException
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development