//register a transport listener
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);
//call the unexport method with the force flag set to false
boolean result = exporter.unexport(false);
if (result) {
//verify that close was called on the server endpoint
if (closeCalled) {
//OK
} else {