// get static method getInstance(Class component)
Method instanceMethod = mLoggerClass.getMethod("getInstance", argumentTypes);
// invoke getInstance(Class component) method and retrieve logger object
o = instanceMethod.invoke(null, arguments);
} catch (NoSuchMethodException e) {
throw new UIMARuntimeException(e);
} catch (InvocationTargetException e) {
throw new UIMARuntimeException(e);
} catch (IllegalAccessException e) {
throw new UIMARuntimeException(e);
}
// put created logger to the HashMap
mLoggers.put(component.getName(), o);
}