new Object[] { key + "=" + value, pkgBrowser.getRootDirectory().getName() });
}
// create UIMA resource manager and apply pear settings
ResourceManager rsrcMgr = UIMAFramework.newDefaultResourceManager();
String classpath = pkgBrowser.buildComponentClassPath();
rsrcMgr.setExtensionClassPath(classpath, true);
UIMAFramework.getLogger(this.getClass()).logrb(Level.CONFIG, this.getClass().getName(),
"initialize", LOG_RESOURCE_BUNDLE, "UIMA_pear_runtime_set_classpath__CONFIG",
new Object[] { classpath, pkgBrowser.getRootDirectory().getName() });
// get and set uima.datapath if specified
String dataPath = pkgBrowser.getComponentDataPath();
if (dataPath != null) {
rsrcMgr.setDataPath(dataPath);
UIMAFramework.getLogger(this.getClass()).logrb(Level.CONFIG, this.getClass().getName(),
"initialize", LOG_RESOURCE_BUNDLE, "UIMA_pear_runtime_set_datapath__CONFIG",
new Object[] { dataPath, pkgBrowser.getRootDirectory().getName() });
}