[jboss-svn-commits] JBL Code SVN: r14601 - labs/shotoku/trunk/shotoku-aop/src/java/org/jboss/shotoku/aop.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Aug 26 14:07:18 EDT 2007
Author: adamw
Date: 2007-08-26 14:07:18 -0400 (Sun, 26 Aug 2007)
New Revision: 14601
Modified:
labs/shotoku/trunk/shotoku-aop/src/java/org/jboss/shotoku/aop/CacheInjectAspect.java
Log:
Bug fix
Modified: labs/shotoku/trunk/shotoku-aop/src/java/org/jboss/shotoku/aop/CacheInjectAspect.java
===================================================================
--- labs/shotoku/trunk/shotoku-aop/src/java/org/jboss/shotoku/aop/CacheInjectAspect.java 2007-08-26 16:18:02 UTC (rev 14600)
+++ labs/shotoku/trunk/shotoku-aop/src/java/org/jboss/shotoku/aop/CacheInjectAspect.java 2007-08-26 18:07:18 UTC (rev 14601)
@@ -45,8 +45,8 @@
return current;
}
- @Bind(pointcut="field($instanceof{org.jboss.shotoku.cache.RenewableCacheItemUser} " +
- "*->@org.jboss.shotoku.aop.CacheItem)")
+ @Bind(pointcut="field($instanceof{org.jboss.shotoku.cache.CacheItemUser} " +
+ "*->@org.jboss.shotoku.aop.CacheItemInject)")
public Object accessCacheItem(FieldReadInvocation invocation) throws Throwable {
if (sci == null) {
synchronized(synchronizer) {
@@ -61,8 +61,8 @@
return sci;
}
- @Bind(pointcut="field(org.jboss.shotoku.cache.RenewableCacheItemUser " +
- "*->@org.jboss.shotoku.aop.CacheItem)")
+ @Bind(pointcut="field(org.jboss.shotoku.cache.CacheItemUser " +
+ "*->@org.jboss.shotoku.aop.CacheItemInject)")
public Object access(FieldWriteInvocation invocation) throws Throwable {
throw new RuntimeException("You cannot set a @CacheItem or a " +
"@ResourceWatcher variable!");
More information about the jboss-svn-commits
mailing list