sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-fsresource] 13/15: SLING-6364 make sure webconsole nameHint is included in metatype
Date Tue, 07 Nov 2017 09:37:04 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 566413ef59a264b1424ce70e7c925b4db15f7a7e
Author: Stefan Seifert <sseifert@apache.org>
AuthorDate: Tue Dec 6 23:05:16 2016 +0000

    SLING-6364 make sure webconsole nameHint is included in metatype
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/fsresource@1772995
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/fsprovider/internal/FsResourceProvider.java  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
index b952668..d68ad3a 100644
--- a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
+++ b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
@@ -56,8 +56,7 @@ import org.osgi.service.metatype.annotations.ObjectClassDefinition;
            configurationPolicy=ConfigurationPolicy.REQUIRE,
            property={
                    Constants.SERVICE_DESCRIPTION + "=Sling Filesystem Resource Provider",
-                   Constants.SERVICE_VENDOR + "=The Apache Software Foundation",
-                   "webconsole.configurationFactory.nameHint=Root paths: {" + ResourceProvider.PROPERTY_ROOT
+ "}"
+                   Constants.SERVICE_VENDOR + "=The Apache Software Foundation"
            })
 @Designate(ocd=FsResourceProvider.Config.class, factory=true)
 public class FsResourceProvider extends ResourceProvider<Object> {
@@ -93,6 +92,11 @@ public class FsResourceProvider extends ResourceProvider<Object>
{
                 description = "Location in the virtual resource tree where the " +
                 "filesystem resources are mapped in. This property must not be an empty string.")
         String provider_root();
+        
+        /**
+         * Internal Name hint for web console.
+         */
+        String webconsole_configurationFactory_nameHint() default "Root path: {" + ResourceProvider.PROPERTY_ROOT
+ "}";
     }
 
     // The location in the resource tree where the resources are mapped

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

Mime
View raw message