X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FBlaService.java;fp=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FBlaService.java;h=9b103b81bf05144660ea7cf57d8ad98ed48e8dfd;hb=16504cb35c59542f7817abfe3c852e9fedd870a3;hp=0000000000000000000000000000000000000000;hpb=e7aa00a2eebaa1f8f9d7d1c407a5e8a7cbe899f7;p=utils diff --git a/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java b/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java new file mode 100644 index 00000000..9b103b81 --- /dev/null +++ b/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java @@ -0,0 +1,20 @@ +package org.wamblee.system.spring; + +public class BlaService { + private HelloService _hello; + + public BlaService(HelloService aService) { + if ( aService == null ) { + throw new IllegalArgumentException("helloService is null"); + } + _hello = aService; + } + + public String execute() { + return _hello.say(); + } + + public void stop() { + System.out.println("Blaservice stopping"); + } +}