You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:14:10 UTC

[sling-org-apache-sling-serviceusermapper] 03/17: SLING-4742 Service User Mapper: Web Console Name Hints for Mapping Configurations

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.serviceusermapper-1.2.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-serviceusermapper.git

commit 87a8eef16d3c48d44cb1786bf3961b3a9cb1e113
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Fri May 22 21:02:45 2015 +0000

    SLING-4742 Service User Mapper: Web Console Name Hints for Mapping Configurations
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/serviceusermapper@1681233 13f79535-47bb-0310-9956-ffa450edef68
---
 .../serviceusermapping/impl/MappingConfigAmendment.java      | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sling/serviceusermapping/impl/MappingConfigAmendment.java b/src/main/java/org/apache/sling/serviceusermapping/impl/MappingConfigAmendment.java
index 1894133..9b981e9 100644
--- a/src/main/java/org/apache/sling/serviceusermapping/impl/MappingConfigAmendment.java
+++ b/src/main/java/org/apache/sling/serviceusermapping/impl/MappingConfigAmendment.java
@@ -25,6 +25,7 @@ import org.apache.felix.scr.annotations.Activate;
 import org.apache.felix.scr.annotations.Component;
 import org.apache.felix.scr.annotations.ConfigurationPolicy;
 import org.apache.felix.scr.annotations.Modified;
+import org.apache.felix.scr.annotations.Properties;
 import org.apache.felix.scr.annotations.Property;
 import org.apache.felix.scr.annotations.PropertyUnbounded;
 import org.apache.felix.scr.annotations.Service;
@@ -40,10 +41,13 @@ import org.slf4j.LoggerFactory;
         configurationFactory=true,
         policy=ConfigurationPolicy.REQUIRE)
 @Service(value={MappingConfigAmendment.class})
-@Property(name=Constants.SERVICE_RANKING, intValue=0, propertyPrivate=false,
-          label="Ranking",
-          description="Amendments are processed in order of their ranking, an amendment with a higher ranking has" +
-                      " precedence over a mapping with a lower ranking.")
+@Properties({
+    @Property(name=Constants.SERVICE_RANKING, intValue=0, propertyPrivate=false,
+              label="Ranking",
+              description="Amendments are processed in order of their ranking, an amendment with a higher ranking has" +
+                          " precedence over a mapping with a lower ranking."),
+    @Property(name="webconsole.configurationFactory.nameHint", value="Mapping: {user.mapping}")
+})
 public class MappingConfigAmendment implements Comparable<MappingConfigAmendment> {
 
     @Property(

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.