From: markt Date: Thu, 8 Jul 2010 21:55:46 +0000 (+0000) Subject: GSOC 2010. Continue work to align MBean descriptors with reality. Patch provided... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c7b414bf21c813bbbf053b3d393f3af60282e5e5;p=tomcat7.0 GSOC 2010. Continue work to align MBean descriptors with reality. Patch provided by Chamith Buddhika. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@961956 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/ha/session/SimpleTcpReplicationManager.java b/java/org/apache/catalina/ha/session/SimpleTcpReplicationManager.java index 38d011f12..d3951a3d4 100644 --- a/java/org/apache/catalina/ha/session/SimpleTcpReplicationManager.java +++ b/java/org/apache/catalina/ha/session/SimpleTcpReplicationManager.java @@ -138,6 +138,11 @@ public class SimpleTcpReplicationManager extends StandardManager implements Clus this.defaultMode = defaultMode; } + public boolean getUseDirtyFlag() + { + return useDirtyFlag; + } + public void setUseDirtyFlag(boolean usedirtyflag) { this.useDirtyFlag = usedirtyflag; @@ -158,6 +163,11 @@ public class SimpleTcpReplicationManager extends StandardManager implements Clus { return mExpireSessionsOnShutdown; } + + public boolean getPrintToScreen() + { + return mPrintToScreen; + } public void setPrintToScreen(boolean printtoscreen) { @@ -165,6 +175,11 @@ public class SimpleTcpReplicationManager extends StandardManager implements Clus log.debug("Setting screen debug to:"+printtoscreen); mPrintToScreen = printtoscreen; } + + public boolean getSynchronousReplication() + { + return synchronousReplication; + } public void setSynchronousReplication(boolean flag) { diff --git a/java/org/apache/catalina/ha/session/mbeans-descriptors.xml b/java/org/apache/catalina/ha/session/mbeans-descriptors.xml index d2168acd6..80cf8f2a6 100644 --- a/java/org/apache/catalina/ha/session/mbeans-descriptors.xml +++ b/java/org/apache/catalina/ha/session/mbeans-descriptors.xml @@ -311,78 +311,93 @@ description="Number of sessions we rejected due to maxActive beeing reached" type="int"/> - + returnType="void"> + + + + returnType="[Lorg.apache.catalina.Session;"> + + + - + - + - - - - - - + + returnType="java.lang.String"> + + + - - - - - - - - - - - - + returnType="void"> + + + returnType="org.apache.catalina.Session"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + diff --git a/java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml b/java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml index 8b5c7d27c..03c9296a1 100644 --- a/java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml +++ b/java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml @@ -100,1072 +100,6 @@ returnType="void"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/org/apache/catalina/tribes/transport/mbeans-descriptors.xml b/java/org/apache/catalina/tribes/transport/mbeans-descriptors.xml deleted file mode 100644 index ca0722c37..000000000 --- a/java/org/apache/catalina/tribes/transport/mbeans-descriptors.xml +++ /dev/null @@ -1,991 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/org/apache/catalina/users/mbeans-descriptors.xml b/java/org/apache/catalina/users/mbeans-descriptors.xml index 08de55605..504f70631 100644 --- a/java/org/apache/catalina/users/mbeans-descriptors.xml +++ b/java/org/apache/catalina/users/mbeans-descriptors.xml @@ -16,135 +16,6 @@ limitations under the License. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java/org/apache/catalina/valves/mbeans-descriptors.xml b/java/org/apache/catalina/valves/mbeans-descriptors.xml index d6adb0f41..ea60cd7fd 100644 --- a/java/org/apache/catalina/valves/mbeans-descriptors.xml +++ b/java/org/apache/catalina/valves/mbeans-descriptors.xml @@ -22,29 +22,51 @@ domain="Catalina" group="Valve" type="org.apache.catalina.valves.AccessLogValve"> + + + + + + - - - - + + - + + + + + + + - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + - + + + - + + + + - + + + + + + + + + - + + - - - - - - - - - - - - - - - - - - + + + + + +