Search in sources :

Example 1 with PublishExecutorRegistry

use of org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutorRegistry in project records-management by Alfresco.

the class DispositionServiceImplTest method publishDispositionActionDefinitionChange.

private void publishDispositionActionDefinitionChange(DispositionActionDefinition dad) {
    PublishExecutorRegistry reg = (PublishExecutorRegistry) applicationContext.getBean("publishExecutorRegistry");
    PublishExecutor pub = reg.get(RecordsManagementModel.UPDATE_TO_DISPOSITION_ACTION_DEFINITION);
    assertNotNull(pub);
    pub.publish(dad.getNodeRef());
}
Also used : PublishExecutorRegistry(org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutorRegistry) PublishExecutor(org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutor)

Aggregations

PublishExecutor (org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutor)1 PublishExecutorRegistry (org.alfresco.module.org_alfresco_module_rm.job.publish.PublishExecutorRegistry)1