private Vector unspecificListeners = null;
private PropertyChangeEvent event = null;
}
private XIdlClass getReflection(String typeName) {
XIdlReflection refl;
try {
refl = UnoRuntime.queryInterface(
XIdlReflection.class,
context.getServiceManager().createInstanceWithContext(
"com.sun.star.reflection.CoreReflection", context));
} catch (com.sun.star.uno.Exception e) {
throw new DeploymentException(
("component context fails to supply service"
+ " com.sun.star.reflection.CoreReflection: "
+ e.getMessage()),
context);
}
try {
return refl.forName(typeName);
} finally {
XComponent comp = UnoRuntime.queryInterface(XComponent.class, refl);
if (comp != null) {
comp.dispose();
}