geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1331258 - in /geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector: BaseHttp11ConnectorGBean.java ConnectorGBean.java
Date Fri, 27 Apr 2012 07:15:15 GMT
Author: xiaming
Date: Fri Apr 27 07:15:14 2012
New Revision: 1331258

URL: http://svn.apache.org/viewvc?rev=1331258&view=rev
Log:
GERONIMO-6274 Add @Persistent(manageable=false) annotation to some setter methods of connector
parameters so that those parameters could be set via admin console, for 2.2 branch

Modified:
    geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/BaseHttp11ConnectorGBean.java
    geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/ConnectorGBean.java

Modified: geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/BaseHttp11ConnectorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/BaseHttp11ConnectorGBean.java?rev=1331258&r1=1331257&r2=1331258&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/BaseHttp11ConnectorGBean.java
(original)
+++ geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/BaseHttp11ConnectorGBean.java
Fri Apr 27 07:15:14 2012
@@ -234,7 +234,7 @@ public abstract class BaseHttp11Connecto
         return value == null ? Thread.NORM_PRIORITY : Integer.parseInt(value.toString());
     }
     
-
+    @Persistent(manageable=false)
     public void setAcceptCount(int acceptCount) {
         connector.setAttribute("acceptCount", new Integer(acceptCount));
     }

Modified: geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/ConnectorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/ConnectorGBean.java?rev=1331258&r1=1331257&r2=1331258&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/ConnectorGBean.java
(original)
+++ geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/connector/ConnectorGBean.java
Fri Apr 27 07:15:14 2012
@@ -209,6 +209,7 @@ public abstract class ConnectorGBean ext
         return name;
     }
 
+    @Persistent(manageable=false)
     public void setAllowTrace(boolean allow) {
         connector.setAllowTrace(allow);
     }
@@ -221,6 +222,7 @@ public abstract class ConnectorGBean ext
         connector.setEmptySessionPath(emptySessionPath);
     }
 
+    @Persistent(manageable=false)
     public void setEnableLookups(boolean enabled) {
         connector.setEnableLookups(enabled);
     }
@@ -230,6 +232,7 @@ public abstract class ConnectorGBean ext
         return value == 0 ? 2097152 : value;
     }
 
+    @Persistent(manageable=false)
     public void setMaxPostSize(int bytes) {
         connector.setMaxPostSize(bytes);
     }
@@ -239,6 +242,7 @@ public abstract class ConnectorGBean ext
     	return value == 0 ? 10000 : value;
     }
     
+    @Persistent(manageable=false)
     public void setMaxParameterCount(int count){
     	connector.setMaxParameterCount(count);
     }



Mime
View raw message