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:
Derek Hulley
2013-07-10 11:06:21 +00:00
parent 2837b567a9
commit c9c8cd14e1
2 changed files with 7 additions and 1 deletions

View File

@@ -133,6 +133,9 @@ public class ModuleComponentHelper
this.tenantAdminService = tenantAdminService;
}
/**
* @throws UnsupportedOperationException This feature was never active and cannot be used (ALF-19207)
*/
public void setApplyToTenants(boolean applyToTenants)
{
throw new UnsupportedOperationException("Applying modules to individual tenants is unsupported. See ALF-19207: MT module startup does not work");

View File

@@ -110,9 +110,12 @@ public class ModuleServiceImpl implements ApplicationContextAware, ModuleService
this.moduleComponentHelper.setTenantAdminService(tenantAdminService);
}
/**
* @throws UnsupportedOperationException This feature was never active and cannot be used (ALF-19207)
*/
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