KnowledgeSessionService implements IKnowledgeSession, KnowledgeSessionServiceMXBean { public String dumpSessionStatusInfo() { return kBean.dumpSessionStatusInfo(); }  @PostConstruct void start(); @PreDestroy void stop(); void createOrRebuildKnowledgeBaseViaKnowledgeAgentOrBuilder(); void rebuildKnowledgeBaseViaKnowledgeAgent(); void rebuildKnowledgeBaseViaKnowledgeBuilder(); void addProcessToKnowledgeBase(Process processObj, Resource resourceObj); void addProcessToKnowledgeBase(File bpmnFile); String getAllProcessesInPackage(String pkgName); String printKnowledgeBaseContent(); String printWorkItemHandlers(); String printActiveProcessInstances(Map<String,Object> queryCriteria); List<SerializableProcessMetaData> retrieveProcesses(); SerializableProcessMetaData getProcess(String processId); void removeProcess(String processId); List<ProcessInstanceInfo> getActiveProcessInstances(Map<String, Object> queryCriteria); String dumpSessionStatusInfo(); String dumpBAMProducerPoolInfo(); Map<String, Object> startProcessAndReturnId(String processId, Map<String, Object> pInstanceVariables); int signalEvent(String signalType, Object signalValue, Long processInstanceId, Integer ksessionId); void abortProcessInstance(Long processInstanceId, Integer ksessionId); void upgradeProcessInstance(long processInstanceId, String processId, Map<String, Long> nodeMapping); String printActiveProcessInstanceVariables(Long processInstanceId, Integer ksessionId); Map<String, Object> getActiveProcessInstanceVariables(Long processInstanceId, Integer ksessionId); void setProcessInstanceVariables(Long processInstanceId, Map<String, Object> variables, Integer ksessionId); void completeWorkItem(Long workItemId, Map<String, Object> pInstanceVariables, Long pInstanceId, Integer ksessionId); int processJobExecutionContext(Serializable jobExecutionContext); @Override String getCurrentTimerJobsAsJson(String jobGroup); @Override int purgeCurrentTimerJobs(String jobGroup);  }
@Test public void dumpSessionStatusInfoTest() { System.out.println("dumpSessionInfoTest() info = "+kProxy.dumpSessionStatusInfo()); }