mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
More for ALF-19207: ModuleServiceImpl now also prevents setting of applyToTenants
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -133,6 +133,9 @@ public class ModuleComponentHelper
|
|||||||
this.tenantAdminService = tenantAdminService;
|
this.tenantAdminService = tenantAdminService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws UnsupportedOperationException This feature was never active and cannot be used (ALF-19207)
|
||||||
|
*/
|
||||||
public void setApplyToTenants(boolean applyToTenants)
|
public void setApplyToTenants(boolean applyToTenants)
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException("Applying modules to individual tenants is unsupported. See ALF-19207: MT module startup does not work");
|
throw new UnsupportedOperationException("Applying modules to individual tenants is unsupported. See ALF-19207: MT module startup does not work");
|
||||||
|
@@ -110,9 +110,12 @@ public class ModuleServiceImpl implements ApplicationContextAware, ModuleService
|
|||||||
this.moduleComponentHelper.setTenantAdminService(tenantAdminService);
|
this.moduleComponentHelper.setTenantAdminService(tenantAdminService);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws UnsupportedOperationException This feature was never active and cannot be used (ALF-19207)
|
||||||
|
*/
|
||||||
public void setApplyToTenants(boolean applyToTenants)
|
public void setApplyToTenants(boolean applyToTenants)
|
||||||
{
|
{
|
||||||
this.moduleComponentHelper.setApplyToTenants(applyToTenants);
|
throw new UnsupportedOperationException("Applying modules to individual tenants is unsupported. See ALF-19207: MT module startup does not work");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user