[jboss-user] [jBPM] New message: "Re: Deploying java class with the process"
anis jaballah
do-not-reply at jboss.com
Fri Mar 12 10:58:41 EST 2010
User development,
A new message was posted in the thread "Deploying java class with the process":
http://community.jboss.org/message/531648#531648
Author : anis jaballah
Profile : http://community.jboss.org/people/anisj1m
Message:
--------------------------------------------------------------
Hi,
//Process Engine
ProcessEngine processEngine = new Configuration().setResource("jbpm.cfg.xml").buildProcessEngine();
//Repository Service
RepositoryService repositoryService = processEngine.getRepositoryService();
// Deployer le process et ces dependances
repositoryService.createDeployment()
.addResourceFromClasspath("com/jbpm/tuto/MyProcess.jpdl.xml")
.addResourceFromClasspath("com/jbpm/tuto/MyProcess.png")
.deploy();
and i user a <java> and the function is ok and i can access it but i searched for the class in the database but i couldnt find it.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531648#531648
More information about the jboss-user
mailing list