cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r558603 - /incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Date Mon, 23 Jul 2007 05:21:03 GMT
Author: ningjiang
Date: Sun Jul 22 22:21:03 2007
New Revision: 558603

URL: http://svn.apache.org/viewvc?view=rev&rev=558603
Log:
CXF-791 Changed the createJettyHTTPServerEngine to be protected for subclass to do some extensions

Modified:
    incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java

Modified: incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java?view=diff&rev=558603&r1=558602&r2=558603
==============================================================================
--- incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
(original)
+++ incubator/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Sun Jul 22 22:21:03 2007
@@ -175,7 +175,7 @@
      * This call retrieves a previously configured JettyHTTPServerEngine for the
      * given port. If none exists, this call returns null.
      */
-    synchronized JettyHTTPServerEngine retrieveJettyHTTPServerEngine(int port) {
+    protected synchronized JettyHTTPServerEngine retrieveJettyHTTPServerEngine(int port)
{
         return portMap.get(port);
     }
 
@@ -189,7 +189,7 @@
      * engine is being Spring configured for TLS a GeneralSecurityException
      * may be thrown.
      */
-    synchronized JettyHTTPServerEngine createJettyHTTPServerEngine(int port)
+    protected synchronized JettyHTTPServerEngine createJettyHTTPServerEngine(int port)
         throws GeneralSecurityException, IOException {
         
         TLSServerParameters tlsParams = tlsParametersMap.get(port);
@@ -222,7 +222,7 @@
      * engine is being Spring configured for TLS a GeneralSecurityException
      * may be thrown.
      */
-    synchronized JettyHTTPServerEngine createJettyHTTPSServerEngine(int port)
+    protected synchronized JettyHTTPServerEngine createJettyHTTPSServerEngine(int port)
         throws GeneralSecurityException, IOException {
 
         LOG.fine("Creating Jetty HTTP Server Engine for port " + port + ".");



Mime
View raw message