|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.seeyon.client.CTPServiceClientManager
public class CTPServiceClientManager
CTP远程服务访问客户端管理。
| 方法摘要 | ||
|---|---|---|
CTPAxis2Client |
getAxis2Client()
取得Axis2 SOAP动态客户机。 |
|
java.lang.String |
getBaseUrl()
|
|
static CTPServiceClientManager |
getInstance(java.lang.String baseUrl)
取得指定服务主机的客户端管理器。 |
|
CTPRestClient |
getRestClient()
取得REST动态客户机。 |
|
|
getStub(java.lang.Class<T> clazz)
取得指定服务的客户端存根。 |
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public java.lang.String getBaseUrl()
public static CTPServiceClientManager getInstance(java.lang.String baseUrl)
baseUrl - 服务主机地址,包含{协议}{Ip}:{端口},如http://127.0.0.1:80
public CTPRestClient getRestClient()
public CTPAxis2Client getAxis2Client()
public <T> T getStub(java.lang.Class<T> clazz)
throws java.lang.Exception
clazz - 服务接口,如AuthorityService、OrganizationDataService。
java.lang.Exception - 创建实例失败抛出异常。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||