org.droolsjbpm.services.impl
Class KnowledgeDomainServiceImpl

java.lang.Object
  extended by org.droolsjbpm.services.impl.KnowledgeDomainServiceImpl
All Implemented Interfaces:
KnowledgeDomainService

@ApplicationScoped
public class KnowledgeDomainServiceImpl
extends Object
implements KnowledgeDomainService


Constructor Summary
KnowledgeDomainServiceImpl()
           
 
Method Summary
 int getAmountOfSessions()
           
 Map<String,String> getAvailableProcesses()
           
 String getDomainName()
           
 Long getId()
           
 Long getParentId()
           
 org.drools.runtime.StatefulKnowledgeSession getSession(long sessionId)
           
 org.drools.runtime.StatefulKnowledgeSession getSessionByBusinessKey(String businessKey)
           
 Collection<org.drools.runtime.StatefulKnowledgeSession> getSessions()
           
 Collection<String> getSessionsNames()
           
 void init()
           
 void registerSession(String businessKey, org.drools.runtime.StatefulKnowledgeSession ksession)
           
 void setDomainName(String domainName)
           
 void setId(Long id)
           
 void setParentId(Long parentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeDomainServiceImpl

public KnowledgeDomainServiceImpl()
Method Detail

init

@PostConstruct
public void init()

registerSession

public void registerSession(String businessKey,
                            org.drools.runtime.StatefulKnowledgeSession ksession)
Specified by:
registerSession in interface KnowledgeDomainService

getSession

public org.drools.runtime.StatefulKnowledgeSession getSession(long sessionId)
Specified by:
getSession in interface KnowledgeDomainService

getSessionByBusinessKey

public org.drools.runtime.StatefulKnowledgeSession getSessionByBusinessKey(String businessKey)
Specified by:
getSessionByBusinessKey in interface KnowledgeDomainService

getSessions

public Collection<org.drools.runtime.StatefulKnowledgeSession> getSessions()
Specified by:
getSessions in interface KnowledgeDomainService

getSessionsNames

public Collection<String> getSessionsNames()
Specified by:
getSessionsNames in interface KnowledgeDomainService

getAmountOfSessions

public int getAmountOfSessions()
Specified by:
getAmountOfSessions in interface KnowledgeDomainService

getId

public Long getId()
Specified by:
getId in interface KnowledgeDomainService

setId

public void setId(Long id)
Specified by:
setId in interface KnowledgeDomainService

getDomainName

public String getDomainName()
Specified by:
getDomainName in interface KnowledgeDomainService

setDomainName

public void setDomainName(String domainName)
Specified by:
setDomainName in interface KnowledgeDomainService

getParentId

public Long getParentId()
Specified by:
getParentId in interface KnowledgeDomainService

setParentId

public void setParentId(Long parentId)
Specified by:
setParentId in interface KnowledgeDomainService

getAvailableProcesses

public Map<String,String> getAvailableProcesses()
Specified by:
getAvailableProcesses in interface KnowledgeDomainService


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