mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Stuck AVMService into ServiceRegistry. Started wrapping AVMService
with appropriate advice. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,7 @@ import java.util.Map;
|
||||
import org.alfresco.service.ServiceDescriptor;
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.alfresco.service.cmr.action.ActionService;
|
||||
import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.coci.CheckOutCheckInService;
|
||||
import org.alfresco.service.cmr.dictionary.DictionaryService;
|
||||
import org.alfresco.service.cmr.lock.LockService;
|
||||
@@ -322,4 +323,13 @@ public class ServiceDescriptorRegistry
|
||||
{
|
||||
return (WorkflowService)getService(WORKFLOW_SERVICE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the AVMService.
|
||||
* @return The AVMService or null if there is none.
|
||||
*/
|
||||
public AVMService getAVMService()
|
||||
{
|
||||
return (AVMService)getService(AVM_SERVICE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user