[jboss-user] [jBPM] - Instantiating the KnowledgeBase
Julio Faerman
do-not-reply at jboss.com
Thu Mar 3 18:05:10 EST 2011
Julio Faerman [http://community.jboss.org/people/jmfaerman] created the discussion
"Instantiating the KnowledgeBase"
To view the discussion, visit: http://community.jboss.org/message/591053#591053
--------------------------------------------------------------
The samples/docs instantiates the KnowledgeBase hard-coding the proccess definitions, like:
{code}
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"), ResourceType.BPMN2);
{code}
I am thinking that this approach is not usable for real applications, when new process are deployed in runtime.
Is it possible to instantiate a KnowledgeBuilder that searches Guvnor for process definitions on-demand?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/591053#591053]
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/20110303/a96593d8/attachment.html
More information about the jboss-user
mailing list