Merged DEV/3.1_ENTERPRISE_ONLY to HEAD

12520: Move supporting heartbeat code into enterprise tree (public part)
   12510: Move license and heartbeat into enterprise only code (public part)
   12509: Move license and heartbeat into enterprise only code (public part)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2008-12-19 17:25:33 +00:00
parent ef972b4353
commit de05f999e4
8 changed files with 8 additions and 1486 deletions

View File

@@ -105,7 +105,7 @@ public class RepoServerMgmt implements RepoServerMgmtMBean, ApplicationContextAw
LicenseService licenseService = null;
try
{
licenseService = (LicenseService) ctx.getBean("org.alfresco.license.LicenseComponent");
licenseService = (LicenseService) ctx.getBean("org.alfresco.enterprise.license.LicenseComponent");
readOnly = !licenseService.isLicenseValid();
}
catch (NoSuchBeanDefinitionException e)