tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1463105 - in /tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha: session/JvmRouteSessionIDBinderListener.java session/SessionIDMessage.java tcp/SimpleTcpCluster.java
Date Mon, 01 Apr 2013 07:38:26 GMT
Author: kfujino
Date: Mon Apr  1 07:38:26 2013
New Revision: 1463105

URL: http://svn.apache.org/r1463105
Log:
Add @Deprecated.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/SessionIDMessage.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java?rev=1463105&r1=1463104&r2=1463105&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/JvmRouteSessionIDBinderListener.java
Mon Apr  1 07:38:26 2013
@@ -37,7 +37,9 @@ import org.apache.tomcat.util.res.String
  * 
  * @author Peter Rossbach
  * @version $Id$
+ * @deprecated Will be removed in Tomcat 8.0.x
  */
+@Deprecated
 public class JvmRouteSessionIDBinderListener extends ClusterListener {
 
     private static final Log log =

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/SessionIDMessage.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/SessionIDMessage.java?rev=1463105&r1=1463104&r2=1463105&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/SessionIDMessage.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/SessionIDMessage.java Mon Apr
 1 07:38:26 2013
@@ -24,6 +24,7 @@ import org.apache.catalina.ha.ClusterMes
  * @author Peter Rossbach
  * 
  * @version $Id$
+ * @deprecated Will be removed in Tomcat 8.0.x
  */
 public class SessionIDMessage extends ClusterMessageBase {
 

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java?rev=1463105&r1=1463104&r2=1463105&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java Mon Apr  1
07:38:26 2013
@@ -170,7 +170,10 @@ public class SimpleTcpCluster extends Li
 
     /**
      * dynamic sender <code>properties</code>
+     *
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     private Map<String, Object> properties = new HashMap<String, Object>();
     
     private int channelSendOptions = Channel.SEND_OPTIONS_ASYNCHRONOUS;
@@ -406,7 +409,9 @@ public class SimpleTcpCluster extends Li
      * 
      * @param name
      * @param value
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     public boolean setProperty(String name, String value) {
         return setProperty(name, (Object) value);
     }
@@ -416,8 +421,10 @@ public class SimpleTcpCluster extends Li
      * 
      * @param name
      * @param value
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
     @Override
+    @Deprecated
     public boolean setProperty(String name, Object value) {
         if (log.isTraceEnabled())
             log.trace(sm.getString("SimpleTcpCluster.setProperty", name, value,properties.get(name)));
@@ -434,8 +441,11 @@ public class SimpleTcpCluster extends Li
      * 
      * @param key
      * @return The property
+     *
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
     @Override
+    @Deprecated
     public Object getProperty(String key) {
         if (log.isTraceEnabled())
             log.trace(sm.getString("SimpleTcpCluster.getProperty", key));
@@ -446,8 +456,10 @@ public class SimpleTcpCluster extends Li
      * Get all properties keys
      * 
      * @return An iterator over the property names.
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
     @Override
+    @Deprecated
     public Iterator<String> getPropertyNames() {
         return properties.keySet().iterator();
     }
@@ -456,8 +468,10 @@ public class SimpleTcpCluster extends Li
      * remove a configured property.
      * 
      * @param key
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
     @Override
+    @Deprecated
     public void removeProperty(String key) {
         properties.remove(key);
     }
@@ -466,7 +480,9 @@ public class SimpleTcpCluster extends Li
      * transfer properties from cluster configuration to subelement bean.
      * @param prefix
      * @param bean
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     protected void transferProperty(String prefix, Object bean) {
         if (prefix != null) {
             for (Iterator<String> iter = getPropertyNames(); iter.hasNext();) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message