BJETransportListener.registerListener(new TransportListenerHelper());
//Construct a BasicJeriExporter using an instrumented server endpoint
int listenPort = config.getIntConfigVal("com.sun.jini.test.spec.jeri"
+ ".basicjeriexporter.ConstructorTest.listenPort",9090);
BasicJeriExporter exporter = new BasicJeriExporter(
new TestServerEndpoint(), new BJETestILFactory());
BJETestServiceImpl service = new BJETestServiceImpl();
//export a remote object using the exporter
try {
exporter.export(service);