1 8 package examples.connectivity; 9 10 import org.codehaus.aspectwerkz.connectivity.RemoteProxy; 11 12 15 public class Test1Impl implements Test1 { 16 17 public String test1() { 18 return "test 1"; 19 } 20 21 public RemoteProxy getTest1() { 22 Test2 test2 = (Test2) new Target(); 23 RemoteProxy proxy = RemoteProxy.createServerProxy(test2, "localhost", 7777); 24 return proxy; 25 } 26 } | Popular Tags |