[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring

oravecz do-not-reply at jboss.com
Sun Oct 12 01:30:56 EDT 2008


JobExecutor seems to be exposed as a property of the jbpmConfiguration. It is not one of the built-in service factories like authentication, persistence or scheduler.

That said, if you were to externalize the bootstrapping of JobExecutor, you will have to get JbpmConfiguration to be knowledgable about your instance of JobExecutor. 

Now, JbpmConfiguration uses the object factory to locate the job executor using a string key value of "jbpm.job.executor". I haven't tried this, but if you are using the spring modules jbpm integration, they replace the default ObjectFactory with one that uses object factory keys as lookups in a spring context. Theoretically, this should mean that you can instantiate the JobExecutor in Spring and all you have to do is make sure the id value is 'jbpm.job.executor'.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181666#4181666

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181666



More information about the jboss-user mailing list