This commit is contained in:
Phillip Webb
2015-06-15 11:44:44 -07:00
parent d87f2713af
commit 49039c33ea
4 changed files with 16 additions and 18 deletions

View File

@@ -8,14 +8,14 @@ class Example implements CommandLineRunner {
private MyService myService
void run(String... args) {
println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/retry.groovy')}"
println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/retry.groovy')}"
}
}
@Service
class MyService {
static int count = 0
@Retryable
@@ -26,5 +26,3 @@ class MyService {
return "World!"
}
}