return new String[]{"checkServiceWhileDisposing"};
}
public void checkServiceWhileDisposing() {
XMultiServiceFactory xMSF = (XMultiServiceFactory)param.getMSF();
XDesktop xDesktop = null;
try {
xDesktop = (XDesktop)UnoRuntime.queryInterface(XDesktop.class,
xMSF.createInstance("com.sun.star.frame.Desktop"));
}
catch(com.sun.star.uno.Exception e) {
failed("Could not create a desktop instance.");
}
int step = 0;
try {
log.println("Start the termination of the Office.");
xDesktop.terminate();
for ( ; step<10000; step++ ) {
Object o = xMSF.createInstance("com.sun.star.frame.Desktop");
}
}
catch(com.sun.star.lang.DisposedException e) {