Class BpmnSecurityResourceProcessor
java.lang.Object
ru.cg.webbpm.modules.bpmn.workflow.jbpm.security.BpmnSecurityResourceProcessor
- All Implemented Interfaces:
BpmnRoleProvider
,MultiResourceProcessor
@Component
public class BpmnSecurityResourceProcessor
extends Object
implements MultiResourceProcessor, BpmnRoleProvider
- Author:
- Kochetkov
-
Constructor Summary
ConstructorsConstructorDescriptionBpmnSecurityResourceProcessor
(ResourceProvider resourceProvider, RoleService roleService, javax.persistence.EntityManagerFactory emf, org.springframework.transaction.PlatformTransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionPattern требуемых ресурсов, *.bpmn2void
init()
void
process()
Обработать все ресурсыboolean
roleExists
(String roleName)
-
Constructor Details
-
BpmnSecurityResourceProcessor
@Autowired public BpmnSecurityResourceProcessor(ResourceProvider resourceProvider, RoleService roleService, javax.persistence.EntityManagerFactory emf, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
-
Method Details
-
getResourcePattern
Description copied from interface:MultiResourceProcessor
Pattern требуемых ресурсов, *.bpmn2- Specified by:
getResourcePattern
in interfaceMultiResourceProcessor
- Returns:
- string
-
init
@PostConstruct public void init() -
process
public void process()Description copied from interface:MultiResourceProcessor
Обработать все ресурсыВНИМАНИЕ: В режиме hotswap может вызываться несколько раз
- Specified by:
process
in interfaceMultiResourceProcessor
-
roleExists
- Specified by:
roleExists
in interfaceBpmnRoleProvider
-