private void doInit(Configuration config) throws Exception {
uuid = net.jini.id.UuidFactory.generate();
Exporter exporter = (Exporter) Config.getNonNullEntry(
config, TEST_SERVICE, "exporter", Exporter.class,
new BasicJeriExporter(
TcpServerEndpoint.getInstance(0), new BasicILFactory(), false, true));
System.out.println("service exporter is: "
+ exporter);
// Export server instance and get its reference
serverStub = (TestService)exporter.export(this);