mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
Merged HEAD (5.1) to 5.1.N (5.1.1)
114774 gcornwell: ACE-4465: PolicyComponent is part of the public API for Spring injection, but getter is not available via ServiceRegistry git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@114857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,6 +28,7 @@ import org.alfresco.repo.i18n.MessageService;
|
||||
import org.alfresco.repo.imap.ImapService;
|
||||
import org.alfresco.repo.lock.JobLockService;
|
||||
import org.alfresco.repo.nodelocator.NodeLocatorService;
|
||||
import org.alfresco.repo.policy.PolicyComponent;
|
||||
import org.alfresco.repo.search.impl.solr.facet.SolrFacetHelper;
|
||||
import org.alfresco.repo.search.impl.solr.facet.handler.FacetLabelDisplayHandlerRegistry;
|
||||
import org.alfresco.repo.transaction.RetryingTransactionHelper;
|
||||
@@ -468,13 +469,19 @@ public class ServiceDescriptorRegistry
|
||||
}
|
||||
|
||||
@Override
|
||||
public MessageService getMessageService() {
|
||||
public MessageService getMessageService()
|
||||
{
|
||||
return (MessageService)getService(MESSAGE_SERVICE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public DocumentLinkService getDocumentLinkService() {
|
||||
public DocumentLinkService getDocumentLinkService()
|
||||
{
|
||||
return (DocumentLinkService)getService(DOCUMENT_LINK_SERVICE);
|
||||
}
|
||||
|
||||
public PolicyComponent getPolicyComponent()
|
||||
{
|
||||
return (PolicyComponent)beanFactory.getBean(POLICY_COMPONENT.getLocalName());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user