[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/interceptors ...
Ben Wang
bwang at jboss.com
Mon Oct 9 04:11:34 EDT 2006
User: bwang
Date: 06/10/09 04:11:34
Modified: src-50/org/jboss/cache/pojo/interceptors
CheckIdInterceptor.java
Log:
Introduce __JBossInteral__ under a region, if set.
Revision Changes Path
1.7 +5 -5 JBossCache/src-50/org/jboss/cache/pojo/interceptors/CheckIdInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CheckIdInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/interceptors/CheckIdInterceptor.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- CheckIdInterceptor.java 31 Jul 2006 05:13:22 -0000 1.6
+++ CheckIdInterceptor.java 9 Oct 2006 08:11:34 -0000 1.7
@@ -14,7 +14,7 @@
import org.jboss.cache.pojo.util.AopUtil;
/** Interceptor (done via aop advice) to check the validity of the id specified by the user.
- * @version $Id: CheckIdInterceptor.java,v 1.6 2006/07/31 05:13:22 bwang Exp $
+ * @version $Id: CheckIdInterceptor.java,v 1.7 2006/10/09 08:11:34 bwang Exp $
*/
public class CheckIdInterceptor extends AbstractInterceptor
{
@@ -38,10 +38,10 @@
private static void checkFqnValidity(Fqn id)
{
// throws exception is fqn is JBossInternal
- if (id.equals(AopUtil.getIdWithRegion(InternalConstant.JBOSS_INTERNAL)))
- {
- throw new IllegalArgumentException("CheckIdIntercepto.checkFqnValidity(): fqn is not valid: " + id);
- }
+// if (id.hasElement(InternalConstant.JBOSS_INTERNAL_STRING))
+// {
+// throw new IllegalArgumentException("CheckIdIntercepto.checkFqnValidity(): fqn is not valid: " + id);
+// }
}
}
More information about the jboss-cvs-commits
mailing list