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:16:38 UTC
[sling-org-apache-sling-tenant] 04/18: SLING-2671 Allow multi-value
property
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.tenant-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-tenant.git
commit 40ca9b34304d201a9804b5dcec0fc1b0b482a79f
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Tue Nov 20 11:06:25 2012 +0000
SLING-2671 Allow multi-value property
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/tenant@1411616 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
index 4d915fb..4ab2c47 100644
--- a/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
+++ b/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
@@ -36,6 +36,7 @@ import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Deactivate;
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.Reference;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.api.resource.LoginException;
@@ -78,6 +79,7 @@ public class TenantProviderImpl implements TenantProvider {
@Property(
value = {},
+ unbounded = PropertyUnbounded.ARRAY,
label = "Tenants Path Matcher",
description = "Defines tenants path matcher i.e. /content/sample/([^/]+)/*, used while resolving path to tenant")
private static final String TENANT_PATH_MATCHER = "tenant.path.matcher";
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.