[jboss-user] [JBoss Seam] - jbpm as external sar seam configuration
Jabberwocky
do-not-reply at jboss.com
Fri Oct 20 04:25:32 EDT 2006
I am a newbie in this staff.
I've got jbpm as external SAR and I need to use it in a seam application.
Now I am using jbpm this way:
| JbpmConfiguration jbpmConf = (JbpmConfiguration) new InitialContext().lookup("java:/jbpm/JbpmConfiguration");
| JbpmContext jbpmContext = jbpmConf.createJbpmContext();
| GraphSession graphSession = jbpmContext.getGraphSession();
| ProcessDefinition processDefinition =
| graphSession.findLatestProcessDefinition("MyProcess");
| ProcessInstance processInstance =
| new ProcessInstance(processDefinition);
|
I'd like to use @CreateProcess annotation.
How should I configure it, to point out Seam using my configuration of jbpm.
Configuration below is not convenient, because process definition not in the seam application.
| <component class="org.jboss.seam.core.Jbpm">
| <property name="processDefinitions">
| documentLifecycle.jpdl.xml
| </property>
| </component>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979583#3979583
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979583
More information about the jboss-user
mailing list