<commit_before>/*
 * This file is part of COMPASS. It is subject to the license terms in
 * the LICENSE file found in the top-level directory of this distribution.
 * (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
 * You may not use this file except in compliance with the License.
 */
package de.dfki.asr.compass.web.components;

import de.dfki.asr.compass.business.api.ComponentRegistry;
import de.dfki.asr.compass.business.api.ComponentAnnouncer;
import javax.ejb.Stateless;

@Stateless
public class WebComponentAnnouncer implements ComponentAnnouncer {

	@Override
	public void announceComponents(ComponentRegistry componentManager) {
	}
}<commit_msg>WebComponentAnnouncer: register the two extracted views.<commit_after>/*
 * This file is part of COMPASS. It is subject to the license terms in
 * the LICENSE file found in the top-level directory of this distribution.
 * (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
 * You may not use this file except in compliance with the License.
 */
package de.dfki.asr.compass.web.components;

import de.dfki.asr.compass.business.api.ComponentRegistry;
import de.dfki.asr.compass.business.api.ComponentAnnouncer;
import de.dfki.asr.compass.web.plugins.PluginViewRegistry;
import de.dfki.asr.compass.web.plugins.api.PluginAnnouncer;
import javax.ejb.Stateless;

@Stateless
public class WebComponentAnnouncer implements ComponentAnnouncer, PluginAnnouncer {

	@Override
	public void announceComponents(ComponentRegistry componentManager) {
	}

	@Override
	public void announcePlugin(PluginViewRegistry registry) {
		registry.registerPluginView("body", "/plugins/prefab_importer_dialogs.xhtml");
		registry.registerPluginView("prefabButtons", "/plugins/prefab_importer_button.xhtml");
	}
}
{'fraction_non_alphanumeric': 0.09193457416807671, 'fraction_numerical': 0.0022560631697687537, 'mean_word_length': 5.335714285714285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6039111', 'n_tokens_mistral': 526, 'n_tokens_neox': 515, 'n_words': 141}