1 15 package hivemind.test.lib.impl; 16 17 import hivemind.test.lib.SimpleService; 18 19 25 public class SimpleServiceDelegatingImpl implements SimpleService 26 { 27 28 private SimpleService _delegate; 29 30 public int add(int a, int b) 31 { 32 return _delegate.add(a, b); 33 } 34 35 public void setDelegate(SimpleService delegate) 36 { 37 _delegate = delegate; 38 } 39 40 } | Popular Tags |