geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r379954 - in /geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat: ConnectorGBean.java TomcatWebConnector.java
Date Wed, 22 Feb 2006 22:54:44 GMT
Author: jgenender
Date: Wed Feb 22 14:54:40 2006
New Revision: 379954

URL: http://svn.apache.org/viewcvs?rev=379954&view=rev
Log:
Added emptySessionPath to ConnectorGBean

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/ConnectorGBean.java
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebConnector.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/ConnectorGBean.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/ConnectorGBean.java?rev=379954&r1=379953&r2=379954&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/ConnectorGBean.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/ConnectorGBean.java
Wed Feb 22 14:54:40 2006
@@ -173,6 +173,14 @@
         }
         return getProtocol().toLowerCase()+"://"+connectHost+(getPort() == getDefaultPort()
? "" : ":"+getPort());
     }
+    
+    public boolean isEmptySessionPath(){
+        return connector.getEmptySessionPath();
+    }
+    
+    public void setEmptySessionPath(boolean emptySessionPath){
+       connector.setEmptySessionPath(emptySessionPath); 
+    }
 
     /**
      * Gets the network protocol that this connector handles.
@@ -429,7 +437,7 @@
         infoFactory.addAttribute("protocol", String.class, true);
         infoFactory.addReference(CONNECTOR_CONTAINER_REFERENCE, TomcatContainer.class, NameFactory.GERONIMO_SERVICE);
         infoFactory.addOperation("getInternalObject");
-        infoFactory.addInterface(TomcatWebConnector.class, new String[]{"host","port","bufferSizeBytes","maxThreads","acceptQueueSize","lingerMillis","tcpNoDelay","redirectPort","minSpareThreads","maxSpareThreads","maxHttpHeaderSizeBytes","hostLookupEnabled","connectionTimeoutMillis","uploadTimeoutEnabled","connectUrl","maxPostSize","maxSavePostSize"},
+        infoFactory.addInterface(TomcatWebConnector.class, new String[]{"host","port","bufferSizeBytes","maxThreads","acceptQueueSize","lingerMillis","tcpNoDelay","redirectPort","minSpareThreads","maxSpareThreads","maxHttpHeaderSizeBytes","hostLookupEnabled","connectionTimeoutMillis","uploadTimeoutEnabled","connectUrl","maxPostSize","maxSavePostSize","emptySessionPath"},
                                                            new String[]{"host","port","redirectPort"});
         infoFactory.setConstructor(new String[] { "name", "protocol", "host", "port", "TomcatContainer"});
         GBEAN_INFO = infoFactory.getBeanInfo();

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebConnector.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebConnector.java?rev=379954&r1=379953&r2=379954&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebConnector.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/TomcatWebConnector.java
Wed Feb 22 14:54:40 2006
@@ -10,6 +10,8 @@
  * @version $Revision: 1.0$
  */
 public interface TomcatWebConnector extends WebConnector {
+    public boolean isEmptySessionPath();
+    public void setEmptySessionPath(boolean emptySessionPath);
     public int getMaxPostSize();
     public void setMaxPostSize(int bytes);
     public int getMaxSavePostSize();



Mime
View raw message