[jbpm-issues] [JBoss JIRA] Created: (JBPM-2716) Protected org.jbpm.pvm.internal.processengine.createProcessEngine() causes validation errors in spring

Florent Legendre (JIRA) jira-events at lists.jboss.org
Wed Jan 6 08:31:32 EST 2010


Protected org.jbpm.pvm.internal.processengine.createProcessEngine() causes validation errors in spring
------------------------------------------------------------------------------------------------------

                 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
            Priority: Minor


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 without 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbpm-issues mailing list