+ update AJ tests

This commit is contained in:
Costin Leau 2011-12-06 14:13:29 +00:00
parent cb3524ff30
commit 1a2a3dd02a
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
public void evictAll(Object arg1) {
}
@CacheEvict(value = "default", beforeInvocation = false)
@CacheEvict(value = "default", beforeInvocation = true)
public void evictEarly(Object arg1) {
throw new RuntimeException("exception thrown - evict should still occur");
}
@ -62,7 +62,7 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
public void evict(Object arg1, Object arg2) {
}
@CacheEvict(value = "default", key = "#p0", beforeInvocation = false)
@CacheEvict(value = "default", key = "#p0", beforeInvocation = true)
public void invalidateEarly(Object arg1, Object arg2) {
throw new RuntimeException("exception thrown - evict should still occur");
}

View File

@ -51,7 +51,7 @@ public class DefaultCacheableService implements CacheableService<Long> {
public void evictAll(Object arg1) {
}
@CacheEvict(value = "default", beforeInvocation = false)
@CacheEvict(value = "default", beforeInvocation = true)
public void evictEarly(Object arg1) {
throw new RuntimeException("exception thrown - evict should still occur");
}
@ -60,7 +60,7 @@ public class DefaultCacheableService implements CacheableService<Long> {
public void evict(Object arg1, Object arg2) {
}
@CacheEvict(value = "default", key = "#p0", beforeInvocation = false)
@CacheEvict(value = "default", key = "#p0", beforeInvocation = true)
public void invalidateEarly(Object arg1, Object arg2) {
throw new RuntimeException("exception thrown - evict should still occur");
}