#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.components;

import de.dfki.asr.compass.web.plugins.PluginViewRegistry;
import de.dfki.asr.compass.web.plugins.api.PluginAnnouncer;

public class SamplePluginAnnouncer implements PluginAnnouncer {
	@Override
	public void announcePlugin(PluginViewRegistry registry) {
		registry.registerPluginView("body", "/plugins/sampleplugin.xhtml");
	}
}

@@ -231,16 +231,650 @@
 uncer;%0A%0A
+/**%0A * Announces the views that plug into slots in the core JSF pages.%0A * This class, which is automatically found by and subsequently called from the%0A * PluginViewRegistry should only take care of adding views to slots. Of course,%0A * you can register multiple views per slot, if you so desire.%0A * You can also have other classes implementing the PluginAnnouncer interface,%0A * if you want to keep things nicely separated.%0A * Also have a look at the SampleComponentAnnouncer class in the business-impl%0A * module, which works similarly. Unfortunately these need to be separate classes,%0A * due to classloading in an EAR environment.%0A */%0A
 public c

Add documentation to SamplePluginAnnouncer