Author: cziegeler
Date: Fri Oct 3 03:06:44 2008
New Revision: 701340
URL: http://svn.apache.org/viewvc?rev=701340&view=rev
Log:
Add proper descriptions
Added:
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
(with props)
Modified:
incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/DefaultGetServlet.java
Modified:
incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/DefaultGetServlet.java
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/DefaultGetServlet.java?rev=701340&r1=701339&r2=701340&view=diff
==============================================================================
---
incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/DefaultGetServlet.java
(original)
+++
incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/DefaultGetServlet.java
Fri Oct 3 03:06:44 2008
@@ -43,7 +43,8 @@
/**
* A SlingSafeMethodsServlet that renders the current Resource as simple HTML
*
- * @scr.component immediate="true"
+ * @scr.component immediate="true" label="%servlet.get.name"
+ * description="%servlet.get.description"
* @scr.service interface="javax.servlet.Servlet"
*
* @scr.property name="service.description" value="Default GET Servlet"
Added:
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
URL:
http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=701340&view=auto
==============================================================================
---
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
(added)
+++
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
Fri Oct 3 03:06:44 2008
@@ -0,0 +1,32 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+
+#
+# This file contains localization strings for configuration labels and
+# descriptions as used in the metatype.xml descriptor generated by the
+# the Sling SCR plugin
+
+servlet.get.name = Sling GET Servlet
+servlet.get.description = The Sling GET Servlet is registered as the default \
+ servlet to handle GET requests in Sling.
+aliases.name = Extension Aliases
+aliases.description = The aliases can be used to map several extensions to a \
+ single servlet. For instance "xml:pdf,rtf" maps the extensions ".pdf" and \
+ ".rtf" to the servlet helper handling the ".xml" extension.
Propchange:
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
------------------------------------------------------------------------------
svn:keywords = Id
Propchange:
incubator/sling/trunk/servlets/get/src/main/resources/OSGI-INF/metatype/metatype.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain