1 package examples.example1.classes; 2 3 public class MyCaller { 4 5 private final SomeServiceClass myService; 6 7 public MyCaller() { 8 this.myService = new SomeServiceClass(); 9 } 10 11 public Long runService(int serviceParam) { 12 return myService.somePossiblyLongRunningMethod(serviceParam); 13 } 14 15 }