XImplementationLoader.class,
factory.createInstanceWithContext(
"com.sun.star.loader."
+ "SharedLibrary",
context));
XSingleComponentFactory factory2
= (XSingleComponentFactory)
UnoRuntime.queryInterface(
XSingleComponentFactory.class,
loader.activate(
"com.sun.star.test.bridges."
+ "testequals.impl",
"", "testequals.uno", null));
XTestInterface test = (XTestInterface)
UnoRuntime.queryInterface(
XTestInterface.class,
factory2.createInstanceWithContext(
context));
// allow client to start accepting:
Thread.sleep(3000);
test.connect(
CONNECTION_DESCRIPTION,