[jboss-user] [jBPM Development] - Update Deployment Resource

Maurizio Trifici do-not-reply at jboss.com
Thu May 13 08:13:54 EDT 2010


Maurizio Trifici [http://community.jboss.org/people/trifix81] replied to the discussion

"Update Deployment Resource"

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

--------------------------------------------------------------
Hi,

I'm using JBPM 4.2 and gwt-console 1.0 (but customized). I have implemented the method updateDeployment into ProcessEnginePluginImpl in this way:


public String updateDeployment(String id, boolean versioning, String processName, String jpdl, int codabi) {
     RepositoryService repoService = this.processEngine.getRepositoryService();
 
     if (!versioning) {
          repoService.updateDeploymentResource(id, "string.jpdl.xml",
          new ByteArrayInputStream(jpdl.getBytes()));
          return id;
     } else {
          return createDeployment(processName, jpdl, codabi);
     }
}

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

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100513/5ae1b382/attachment-0001.html 


More information about the jboss-user mailing list