diff options
Diffstat (limited to 'sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java')
2 files changed, 9 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalService.java b/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalService.java index 261eff2584..a10a430473 100644 --- a/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalService.java +++ b/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalService.java @@ -23,4 +23,6 @@ public interface MySimpleTotalService { String getLocation(); String getYear(); + + String getYear2(); } diff --git a/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalServiceImpl.java b/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalServiceImpl.java index f3c9280f96..d00b016e34 100644 --- a/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalServiceImpl.java +++ b/sca-java-2.x/trunk/itest/recursive-multi-level/src/main/java/mysca/test/myservice/MySimpleTotalServiceImpl.java @@ -27,6 +27,9 @@ public class MySimpleTotalServiceImpl implements MySimpleTotalService { // default required==true so it is 1:1 @Reference public MyService myService; + + @Reference + private MyService myService2; public String getLocation() { return myService.getLocation(); @@ -35,5 +38,9 @@ public class MySimpleTotalServiceImpl implements MySimpleTotalService { public String getYear() { return myService.getYear(); } + + public String getYear2() { + return myService2.getYear(); + } } |