1 package demo.poa_monitor.root_poa; 2 3 4 5 import demo.poa_monitor.foox.*; 6 7 8 9 public class FooFactoryImpl extends FooFactoryPOA { 10 11 public Foo createFoo(String id) { 12 13 Foo result = new FooImpl("0")._this(_orb()); 14 15 System.out.println("[ Foo created id: "+id+" ]"); 16 17 return result; 18 19 } 20 21 public String getServerDescription() { 22 23 System.out.println("[ description requested: "+Server.description+" ]"); 24 25 return Server.description; 26 27 } 28 29 } 30 31 | Popular Tags |