Author: manik.surtani(a)jboss.com
Date: 2008-01-05 07:52:33 -0500 (Sat, 05 Jan 2008)
New Revision: 4997
Modified:
core/trunk/src/main/java/org/jboss/cache/Fqn.java
Log:
Added comments on deprecation
Modified: core/trunk/src/main/java/org/jboss/cache/Fqn.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/Fqn.java 2008-01-04 20:25:50 UTC (rev 4996)
+++ core/trunk/src/main/java/org/jboss/cache/Fqn.java 2008-01-05 12:52:33 UTC (rev 4997)
@@ -57,13 +57,16 @@
* <p/>
* Another way to look at it is that the "/" separarator is only parsed when it
forms
* part of a String passed in to Fqn.fromString() and not otherwise.
+ * <p/>
+ * <B>NOTE</B> that support for custom object elements of Fqns will be
<i>dropped</i> from JBoss Cache 3.0.0 onwards. Consider
+ * it's use in 2.x as a deprecated feature.. From 3.0.0 onwards, Fqns will only be
able to contain <tt>String</tt>s or
+ * Java primitives (<tt>byte</tt>, <tt>short</tt>,
<tt>int</tt>, <tt>long</tt>, <tt>float</tt>,
<tt>double</tt>, <tt>char</tt> and <tt>boolean</tt>).
*
* @version $Revision$
*/
@Immutable
public class Fqn<E> implements Cloneable, Externalizable,
Comparable<Fqn<?>>
{
-
/**
* Separator between FQN elements.
*/