public class JDSSessionFactory extends Object
Title: JDS系统管理系统
Description: JDS系统会话工厂类,用于获取客户端接口实现。 应用程序需要通过该类获取与引擎交互的客户端接口实现类。
Copyright: Copyright (c) 2016
Company: www.justdos.net
| 构造器和说明 |
|---|
JDSSessionFactory(JDSContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
JDSSessionHandle |
createSessionHandle()
创建一个SessionHandle
|
JDSClientService |
getClientService(ConfigCode configCode)
根据request请求信息及应用信息获取已有客户端接口
|
JDSClientService |
getJDSClientBySessionId(String sessionId,
ConfigCode configCode)
创建一个SessionHandle
|
JDSSessionHandle |
getSessionHandle()
根据request参数取得SessionHandle
|
JDSSessionHandle |
getSessionHandleBySessionId(String sessionId)
创建一个SessionHandle
|
JDSClientService |
newClientService(JDSSessionHandle sessionHandle,
ConfigCode configCode)
获取客户端接口实现类的方法。
|
static JDSSessionHandle |
newSessionHandle(String sessionId)
创建一个SessionHandle
|
public JDSSessionFactory(JDSContext context)
public JDSSessionHandle getSessionHandle()
public static JDSSessionHandle newSessionHandle(String sessionId)
public JDSSessionHandle createSessionHandle()
public JDSSessionHandle getSessionHandleBySessionId(String sessionId)
public JDSClientService getJDSClientBySessionId(String sessionId, ConfigCode configCode) throws JDSException
JDSExceptionpublic JDSClientService newClientService(JDSSessionHandle sessionHandle, ConfigCode configCode) throws JDSException
JDSExceptionpublic JDSClientService getClientService(ConfigCode configCode) throws JDSException
JDSExceptionCopyright © 2023 onecode. All rights reserved.