Author: markt
Date: Fri Feb 21 14:20:43 2014
New Revision: 1570581
URL: http://svn.apache.org/r1570581
Log:
Stronger / clearer warning about clients not implementing these interfaces.
Modified:
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.java
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.java
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
Modified:
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.java?rev=1570581&r1=1570580&r2=1570581&view=diff
==============================================================================
---
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.java
(original)
+++
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.java
Fri Feb 21 14:20:43 2014
@@ -19,9 +19,13 @@ package org.apache.commons.pool2.impl;
/**
* The interface that defines the information about pooled objects that will be
* exposed via JMX.
- *
- * NOTE: This interface is subject to change between major version releases
- * of commons pool.
+ *
+ * NOTE: This interface exists only to define those attributes and methods that
+ * will be made available via JMX. It must not be implemented by clients
+ * as it is subject to change between major, minor and patch version
+ * releases of commons pool. Clients that implement this interface may
+ * not, therefore, be able to upgrade to a new minor or patch release
+ * without requiring code changes.
*
* @since 2.0
*/
Modified:
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.java?rev=1570581&r1=1570580&r2=1570581&view=diff
==============================================================================
---
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.java
(original)
+++
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolMXBean.java
Fri Feb 21 14:20:43 2014
@@ -22,8 +22,12 @@ import java.util.Map;
/**
* Defines the methods that will be made available via JMX.
*
- * NOTE: This interface is subject to change between major version releases
- * of commons pool.
+ * NOTE: This interface exists only to define those attributes and methods that
+ * will be made available via JMX. It must not be implemented by clients
+ * as it is subject to change between major, minor and patch version
+ * releases of commons pool. Clients that implement this interface may
+ * not, therefore, be able to upgrade to a new minor or patch release
+ * without requiring code changes.
*
* @param <K> The type of keys maintained by the pool.
*
Modified:
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java?rev=1570581&r1=1570580&r2=1570581&view=diff
==============================================================================
---
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
(original)
+++
commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
Fri Feb 21 14:20:43 2014
@@ -21,8 +21,12 @@ import java.util.Set;
/**
* Defines the methods that will be made available via JMX.
*
- * NOTE: This interface is subject to change between major version releases
- * of commons pool.
+ * NOTE: This interface exists only to define those attributes and methods that
+ * will be made available via JMX. It must not be implemented by clients
+ * as it is subject to change between major, minor and patch version
+ * releases of commons pool. Clients that implement this interface may
+ * not, therefore, be able to upgrade to a new minor or patch release
+ * without requiring code changes.
*
* @version $Revision: $
*