[jboss-user] [jBPM] - adding a custom service to jbpm.cfg.xml

HuiSheng Xu do-not-reply at jboss.com
Fri Jul 23 04:31:25 EDT 2010


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

"adding a custom service to jbpm.cfg.xml"

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

--------------------------------------------------------------
Hi Macro,

If you want to use Session, Transaction which need open an Environment.  You could create a custom Command to achieve that.

processEngine.execute(new Command() {
    public Object execute(Environment env) {
        //
        return null;
    }
});

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

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

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/20100723/43acfb6d/attachment.html 


More information about the jboss-user mailing list