]
Joram Barrez resolved JBPM-2716.
--------------------------------
Fix Version/s: jBPM 4.4
Resolution: Done
Correct. There is no reason for it to be protected.
Protected org.jbpm.pvm.internal.processengine.createProcessEngine()
and spring factory-method attribute
-------------------------------------------------------------------------------------------------------
Key: JBPM-2716
URL:
https://jira.jboss.org/jira/browse/JBPM-2716
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.3
Environment: spring 2.5, java 1.6
Reporter: Florent Legendre
Assignee: Joram Barrez
Priority: Minor
Fix For: jBPM 4.4
The new way (4.3) of configuring the ProcessEngine as a bean is as far as I understood
through a SpringHelper:
<bean id="jbpmConfiguration"
class="org.jbpm.pvm.internal.processengine.SpringHelper">
<property name="jbpmCfg" value="jbpm.spring.cfg.xml"/>
</bean>
<bean id="processEngine"
factory-bean="jbpmConfiguration"
factory-method="createProcessEngine" />
This works (I have access to the processEngine) but with a side effect: spring
factory-methods are supposed to be public, and my IDE issues warnings. Can't this
method be set public?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: