Search in sources :

Example 1 with WebConsolePlugin

use of org.apache.sling.tenant.internal.console.WebConsolePlugin in project sling by apache.

the class TenantProviderImpl method activate.

@Activate
protected void activate(final BundleContext bundleContext, final Map<String, Object> properties) {
    this.tenantRootPath = PropertiesUtil.toString(properties.get(TENANT_ROOT), RESOURCE_TENANT_ROOT);
    this.adapterFactory = new TenantAdapterFactory(bundleContext, this, PropertiesUtil.toStringArray(properties.get(TENANT_PATH_MATCHER), DEFAULT_PATH_MATCHER));
    this.plugin = new WebConsolePlugin(bundleContext, this);
}
Also used : WebConsolePlugin(org.apache.sling.tenant.internal.console.WebConsolePlugin) Activate(org.apache.felix.scr.annotations.Activate)

Aggregations

Activate (org.apache.felix.scr.annotations.Activate)1 WebConsolePlugin (org.apache.sling.tenant.internal.console.WebConsolePlugin)1