* @return a map of the sub components, where the key is the component
* name and the value is the component type
*/
public Map<String, String> getSubComponentsOfModule(
String applicationName, String moduleName) {
ApplicationRegistry appRegistry = mHabitat.getComponent(
ApplicationRegistry.class);
ApplicationInfo appInfo = appRegistry.get(applicationName);
if (appInfo != null) {
Application app = appInfo.getMetaData(Application.class);
if (app != null) {
BundleDescriptor bundleDesc = app.getModuleByUri(moduleName);
if (bundleDesc != null) {