if (c.getConfiguration() instanceof com.sun.jini.qa.harness.QAConfiguration) {
er = (EventRegistration) c.prepare("test.outriggerEventRegistrationPreparer", er);
}
Lease l = er.getLease();
if (c.getConfiguration() instanceof com.sun.jini.qa.harness.QAConfiguration) {
l = (Lease) c.prepare("test.outriggerLeasePreparer", l);
}
base.addLease(l, false);
} catch (TestException e) {
throw new RemoteException("Configuration error", e);
}