javax.xml.ws
类 Endpoint
java.lang.Object
javax.xml.ws.Endpoint
public abstract class Endpointextends Object
Web 服务端点。
使用在此类中定义的静态方法创建端点。一个端点总是绑定到一个 Binding
和一个实现者,这两项都是在创建端点时设置的。
端点要么处于已发布状态,要么处于未发布状态。可以使用 publish
方法开始发布端点,此时端点开始接受传入请求。相反,可以使用 stop
方法停止接受传入请求并取消端点。一旦停止,就不能再次发布该端点。
可以在端点上设置 Executor
以便更好地控制用来指派传入请求的线程。例如,通过创建 ThreadPoolExecutor
并向端点注册可以启用带有特定参数的线程池。
处理程序链可以使用所含的 Binding
来设置。
端点可以使一个元数据文档(如 WSDL 和 XMLSchema 文档)列表与之绑定。发布时,JAX-WS 实现将根据实现者上存在的注释,尽可能多地重用这些元数据,而不是生成新的元数据。
Binding
, BindingType
, SOAPBinding
, Executor
static String |
WSDL_PORT 标准属性:WSDL 端口的名称。 |
static String |
WSDL_SERVICE 标准属性:WSDL 服务的名称。 |
Endpoint() |
static Endpoint |
create(Object implementor) 创建具有指定实现者对象的端点。 |
static Endpoint |
create(String bindingId, Object implementor) 创建具有指定绑定类型和实现者对象的端点。 |
abstract Binding |
getBinding() 返回此端点的绑定。 |
abstract Executor |
getExecutor() 返回此 Endpoint 实例的执行程序。 |
abstract Object |
getImplementor() 返回此端点的实现对象。 |
abstract List<Source> |
getMetadata() 返回服务的元数据文档列表。 |
abstract Map<String,Object> |
getProperties() 返回此 Endpoint 实例的属性包。 |
abstract boolean |
isPublished() 如果端点已处于发布状态,则返回 true。 |
abstract void |
publish(Object serverContext) 在提供的服务器上下文中发布此端点。 |
abstract void |
publish(String address) 在给定地址处发布此端点。 |
static Endpoint |
publish(String address, Object implementor) 在给定地址处针对指定的实现者对象创建并发布端点。 |
abstract void |
setExecutor(Executor executor) 设置此 Endpoint 实例的执行程序。 |
abstract void |
setMetadata(List<Source> metadata) 设置此端点的元数据。 |
abstract void |
setProperties(Map<String,Object> properties) 设置此 Endpoint 实例的属性包。 |
abstract void |
stop() 停止发布此端点。 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL_SERVICE
public static final String WSDL_SERVICE
类型:javax.xml.namespace.QName
WSDL_PORT
public static final String WSDL_PORT
类型:javax.xml.namespace.QName
Endpoint
public Endpoint()
create
public static Endpoint create(Object implementor)
可以通过调用 javax.xml.ws.Endpoint#publish(String) 和 javax.xml.ws.Endpoint#publish(Object) 方法之一来发布新创建的端点。
implementor
- 端点实现者。create
public static Endpoint create(String bindingId, Object implementor)
可以通过调用 javax.xml.ws.Endpoint#publish(String) 和 javax.xml.ws.Endpoint#publish(Object) 方法之一来发布新创建的端点。
bindingId
- 一个 URI,指定要使用的绑定。如果 bindingID 为 null
并且没有通过 BindingType 注释指定任何绑定,则必须使用默认的 SOAP 1.1 / HTTP 绑定。implementor
- 端点实现者。getBinding
public abstract Binding getBinding()
getImplementor
public abstract Object getImplementor()
publish
public abstract void publish(String address)
address
- 一个 URI,指定要使用的地址。地址必须与创建端点时指定的绑定兼容。IllegalArgumentException
- 如果提供的地址 URI 不能与端点的绑定结合使用。IllegalStateException
- 如果已发布端点或者已停止端点。publish
public static Endpoint publish(String address, Object implementor)
JAX-WS 实现将使用一些默认的配置创建和配置所需的服务器基础设施。 若要更多地控制服务器配置,请使用 javax.xml.ws.Endpoint#create(String,Object) 和 javax.xml.ws.Endpoint#publish(Object) 方法。
address
- 一个 URI,指定要使用的地址和传输/协议。http:URI 一定会导致使用 SOAP 1.1/HTTP 绑定。实现可以支持其他 URI 方案。implementor
- 端点实现者。publish
public abstract void publish(Object serverContext)
serverContext
- 表示发布端点所用服务器上下文的对象。IllegalArgumentException
- 如果实现不支持提供的服务器上下文,或者被证明无法与端点的绑定结合使用。IllegalStateException
- 如果已发布端点或者已停止端点。stop
public abstract void stop()
isPublished
public abstract boolean isPublished()
true
getMetadata
public abstract List<Source> getMetadata()
List<javax.xml.transform.Source>
服务的元数据文档列表setMetadata
public abstract void setMetadata(List<Source> metadata)
metadata
- 包含端点元数据信息的 XML 文档源(例如,WSDL 或 XML 模式文档)列表IllegalStateException
- 如果已发布端点。getExecutor
public abstract Executor getExecutor()
Endpoint
实例的执行程序。 执行程序用于向实现者对象指派传入请求。java.util.concurrent.Executor
。Executor
setExecutor
public abstract void setExecutor(Executor executor)
Endpoint
实例的执行程序。 执行程序用于向实现者对象指派传入请求。 如果此 Endpoint
使用 publish(Object)
方法发布,并且指定的服务器上下文定义它自己的线程行为,则可以忽略执行程序。executor
- 将用来指派请求的 java.util.concurrent.Executor
。SecurityException
- 如果出于安全的原因(例如,缺少必要的权限),实例不支持设置执行程序。Executor
getProperties
public abstract Map<String,Object> getProperties()
Endpoint
实例的属性包。setProperties
public abstract void setProperties(Map<String,Object> properties)
Endpoint
实例的属性包。properties
- 与此实例关联的属性包。
相关推荐
IxChariot Endpoint Windows(32bit&64bit;) 版本 + LINUX (32bit & 64bit) 版本+ Apple macOS版本 + Android 版本 全集 包含文件如下:pewin32_95.exe( Microsoft Windows 7 / 8.x / 10 - 32-bit),pewin64_95....
Ixchariot endpoint 9.50 版本的endpoint 目前最新的版本。
IxChariot由两部分组成:控制端(Console)和远端(Endpoint),两者都可安装在普通PC或者服务器上。 破解文件可能会被一些杀软误报。 本资料共包含以下附件: IxChariot6.7破解版+endpoint.part1.rar IxChariot6.7...
内部包含32位和64位2个平台,版本号9.6 1、将安装包解压; # tar -zxvf pelnx_670.tar.gz 2、将当前用户切换至超级用户root,假设解压后文件路径为/root/Downloads/Ixia:...3、使用/usr/local/Ixia/endpoint命令即可
ESET_ENDPOINT_v6.6.x破解工具 ESET Endpoint 6.6.x Hacktivator 2018 INFO Supported products: - ESET Endpoint Security - ESET Endpoint Antivirus Supported versions: - 6.6.x Supported languages: - ...
亲测可用,安装的时有需要connect输入的步骤直接跳过即可。 是由NetIQ公司推出的一款网络测试软件。作为业界公认的网络...t由两部分组成:控制端(Console)和远端(Endpoint),两者都可安装在普通PC或者服务器上。
软件名称:ESET Endpoint Security/ESET Endpoint Antivirus 版本:5.0.2126.3 语言:简体中文 类型:特别版 授权:共享 适合32位系统:XP/Vista/Win7/2003/2008 汉化:麦田守望者 来源:精睿(vc52).网络安全 版本...
Symantec Endpoint Protection 14
Over 31 simple yet incredibly effective recipes for installing and managing System Center 2016 Endpoint Protection About This Book This is the most practical and up-to-date book covering important ...
6.7的console,7.3的endpoint,endpoint包含windows、linux和android,测试可用!压缩包只能上传60m,没办法,只能分成3部分,压缩包添加了恢复记录,减少了网络传输中出错导致文件损坏的可能性。
Ixia Performance Endpoint 7.30.45.32 for Windows 64位,看到没有人传就顺手传一个上来,支持配合其他网友分享的6.7版 Chariot控制端使用。
Symanten Endpoint Protection Remove Tools
Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint
Symantec Endpoint Protection 版本14 (14.2.0 MP1) 内部版本1031(14.2.1031.0100) Win32-bit Client for Windows 简体中文版。直接从SEP原版上复制出来的独立单机客户端,不用注册,完全正版,安装的时候选择不受...
Symantec_Endpoint_protection_Manager
IxChariot 6.70 Console 加 Windows(32bit&64bit) 及 Linux(ubuntu: 32bit & 64bit) 7.10 版本的endpoint; linux中也有7.30的endpoint, 但没测试。 在windows 8.1 及 ubuntu 12.04上亲测可用。 由于附件限制60M...
IxChariot 6.70 Console 加 Windows(32bit&64bit) 及 Linux(ubuntu: 32bit & 64bit) 7.10 版本的endpoint; linux中也有7.30的endpoint, 但没测试。 在windows 8.1 及 ubuntu 12.04上亲测可用。 由于附件限制60M...
这种形势是一种巨大的威胁:他们能不知不觉地传入病毒,特洛伊,非法的软件,使更多机密的数据受到威胁,启用EndPointSecurity(终端安全机制)可以严格地防止这些状况,只有管理员可以管理用户(群)对系统各种设备...
Mcafee Endpoint Product Removal 迈克菲企业版卸载工具 这个是2020版本,2022年测试系统断网并修改时间为2020年9月后可以直接卸载2022版本,无视过期卸载教程见: https://hyluz.cn/post/85463.html
System Center 2012 Endpoint Protection 与 System Center 2012 Configuration Manager 集成在一起形成一个统一解决方案,可为你企业中的客户端提供全面的安全和管理解决方案。