Use classes instead of String in the @Requires annotation

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1558757 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java b/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
index 7e69c48..a28dd5d 100644
--- a/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
+++ b/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
@@ -117,19 +117,19 @@
     /**
      * List of available Architecture service.
      */
-    @Requires(optional = true, specification = "org.apache.felix.ipojo.architecture.Architecture")
+    @Requires(optional = true, specification = Architecture.class)
     private List<Architecture> m_archs;
 
     /**
      * List of available Factories.
      */
-    @Requires(optional = true, specification = "org.apache.felix.ipojo.Factory")
+    @Requires(optional = true, specification = Factory.class)
     private List<Factory> m_factories;
 
     /**
      * List of available Handler Factories.
      */
-    @Requires(optional = true, specification = "org.apache.felix.ipojo.HandlerFactory")
+    @Requires(optional = true, specification = HandlerFactory.class)
     private List<HandlerFactory> m_handlers;
     
     /**
@@ -149,7 +149,7 @@
      * @param templateFile the template file name
      * @return the template
      */
-    private final String readTemplate(final String templateFile) {
+    private String readTemplate(final String templateFile) {
         InputStream templateStream = getClass().getResourceAsStream(
                 templateFile);
         if (templateStream != null) {