|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.integration.console.session.SessionManagerFactory
public class SessionManagerFactory
Factory for providing SessionManager instances
| Constructor Summary | |
|---|---|
SessionManagerFactory()
|
|
| Method Summary | |
|---|---|
static SessionManager |
newSessionManager(org.drools.KnowledgeBase kbase)
Returns new instance of SessionManager interface that is either default implementation
or custom one that is defined by system property: jbpm.session.managerExample: -Djbpm.session.manager=com.company.jbpm.CustomSessionManager Custom implementation must implement org.jbpm.integration.console.session.SessionManager interface
or extend org.jbpm.integration.console.session.AbstractSessionManagerMoreover such custom implementation must provide a constructor that accepts single parameter of a KnowledgeBase type
Default implementation is org.jbpm.integration.console.session.MVELSingleSessionManager
that builds stateful session based on session template given in either:
default.session.templates - template that is bundled with jbpm as defaults - read only
session.templates - custom configuration of jbpm console session
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionManagerFactory()
| Method Detail |
|---|
public static SessionManager newSessionManager(org.drools.KnowledgeBase kbase)
SessionManager interface that is either default implementation
or custom one that is defined by system property: jbpm.session.managerorg.jbpm.integration.console.session.SessionManager interface
or extend org.jbpm.integration.console.session.AbstractSessionManagerKnowledgeBase type
Default implementation is org.jbpm.integration.console.session.MVELSingleSessionManager
that builds stateful session based on session template given in either:
kbase - knowledge base to be used to create session
KnowledgeBaseManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||