bundleHelper.getBundleResourceStream(basePath + "processtool-config.xml"),
bundleHelper.getBundleResourceStream(basePath + "queues-config.xml"),
bundleHelper.getBundleResourceStream(basePath + "processdefinition.png"),
bundleHelper.getBundleResourceStream(basePath + "processdefinition-logo.png"));
toolRegistry.registerI18NProvider(new PropertiesBasedI18NProvider(new PropertyLoader() {
@Override
public InputStream loadProperty(String path) throws IOException {
return getBundleResourceStream(bundle, path);
}
}, "/" + processPackage.replace(".", SEPARATOR) + "/messages"), providerId);