06-07-2010 06:41 AM
Configuration().configurationUrl(resource).buildProcessEngine()
; it's flexible relatively.06-07-2010 08:54 AM
Hi
Guys,
In alpha1, I see that we build a ProcessEngine by Configuration
Configuration().configurationUrl(resource).buildProcessEngine()
; it's flexible relatively.
But in alpha2, I see we have modified the building-approach: we build the ProcessEngine through a DbProcessEngineBuilder (and a ProcessEngineConfiguration).
But in that, there are some hardcodes I think, i.e. we construct the BpmnDeploy class directly in DeployManager class.
Why we do this modified? Is this a compromise or a permanent modify?
Why we don't parse these files "activiti.cfg.default.deployer.manager.xml….." to construct the ProcessEngine?
06-09-2010 04:47 AM
06-09-2010 07:46 AM
The configuration was changed to better facilitate wiring configuration completely in frameworks like spring. Now there is a ProcessEngineConfiguration. That is now completely specifyable in e.g. Spring's bean-xml (or any other IOC framework). So in that case you wouldn't need an activiti configuration file any more. The spring configuration would probably use the ProcessEngineConfiguration class directly, rather then the DbProcessEngineBuilder.Oh Yes.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.