org.jbpm.integration.console.kbase
Class KnowledgeBaseManagerFactory

java.lang.Object
  extended by org.jbpm.integration.console.kbase.KnowledgeBaseManagerFactory

public class KnowledgeBaseManagerFactory
extends Object

Factory for providing KnowledgeBaseManager instances


Constructor Summary
KnowledgeBaseManagerFactory()
           
 
Method Summary
static KnowledgeBaseManager newKnowledgeBaseManager()
          Returns new instance of KnowledgeBaseManager that is either default implementation or custom one that is defined by system property: jbpm.knowledgebase.manager
Example:
-Djbpm.knowledgebase.manager=com.company.jbpm.CustomKnowledgeBaseManager
Custom implementation must implement org.jbpm.integration.console.kbase.KnowledgeBaseManager interface
Default implementation is org.jbpm.integration.console.kbase.DefaultKnowledgeBaseManager that builds knowledge base according to settings given in either: default.jbpm.console.properties - properties that are bundled with jbpm as defaults - read only jbpm.console.properties - custom configuration of jbpm console
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeBaseManagerFactory

public KnowledgeBaseManagerFactory()
Method Detail

newKnowledgeBaseManager

public static KnowledgeBaseManager newKnowledgeBaseManager()
Returns new instance of KnowledgeBaseManager that is either default implementation or custom one that is defined by system property: jbpm.knowledgebase.manager
Example:
-Djbpm.knowledgebase.manager=com.company.jbpm.CustomKnowledgeBaseManager
Custom implementation must implement org.jbpm.integration.console.kbase.KnowledgeBaseManager interface
Default implementation is org.jbpm.integration.console.kbase.DefaultKnowledgeBaseManager that builds knowledge base according to settings given in either:

Returns:
new instance of KnowledgeBaseManager


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.