You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2013/07/26 10:29:37 UTC
svn commit: r1507213 -
/felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java
Author: cziegeler
Date: Fri Jul 26 08:29:37 2013
New Revision: 1507213
URL: http://svn.apache.org/r1507213
Log:
FELIX-4185 : Add category OSGi to event web console plugin
Modified:
felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java
Modified: felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java?rev=1507213&r1=1507212&r2=1507213&view=diff
==============================================================================
--- felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java (original)
+++ felix/trunk/webconsole-plugins/event/src/main/java/org/apache/felix/webconsole/plugins/event/internal/Activator.java Fri Jul 26 08:29:37 2013
@@ -21,7 +21,10 @@ import java.util.Hashtable;
import javax.servlet.Servlet;
-import org.osgi.framework.*;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Constants;
+import org.osgi.framework.ServiceRegistration;
/**
* Setup the event plugin
@@ -61,6 +64,7 @@ public class Activator implements Bundle
props.put( "felix.webconsole.label", "events");
props.put( "felix.webconsole.title", "%plugin.events.title");
props.put( "felix.webconsole.css", "/events/res/ui/events.css");
+ props.put( "felix.webconsole.category", "OSGi");
this.pluginRegistration = context.registerService(Servlet.class.getName(),
plugin,
props);