[jboss-user] [jBPM] - Problems with usage python language in jpdl.xml

Huisheng Xu do-not-reply at jboss.com
Mon Mar 29 03:40:57 EDT 2010


Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Problems with usage python language in jpdl.xml"

To view the discussion, visit: http://community.jboss.org/message/534370#534370

--------------------------------------------------------------
Now jBPM 4 could support JUEL, beanshell and groovy, If you want to use python in jpdl.xml, you should create a new ScriptEngineFactory, may be PythonScriptEngineFactory and put it into <script-manager>.

The default <script-manager> configuration is as following:

<?xml version="1.0" encoding="UTF-8"?>

<jbpm-configuration>

  <process-engine-context>
  
    <script-manager default-expression-language="juel"
                    default-script-language="juel">
      <script-language name="juel" factory="org.jbpm.pvm.internal.script.JuelScriptEngineFactory" />
      <script-language name="bsh" factory="org.jbpm.pvm.internal.script.BshScriptEngineFactory" />
      <script-language name="groovy" factory="org.jbpm.pvm.internal.script.GroovyScriptEngineFactory" />
    </script-manager>
    
  </process-engine-context>

</jbpm-configuration>

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/534370#534370]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100329/a2e8f41e/attachment.html 


More information about the jboss-user mailing list