try {
XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF();
XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(
XPropertySet.class, xMSF);
// get context
XComponentContext xContext = (XComponentContext)
UnoRuntime.queryInterface(XComponentContext.class,
xProp.getPropertyValue("DefaultContext"));
// get the type description manager from context
oInterface = xContext.getValueByName("/singletons/" +
"com.sun.star.reflection.theTypeDescriptionManager");
}
catch( Exception e ) {
log.println("Introspection Service not available" );
}