|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.jws Annotation Type HandlerChain
Implements:
Annotation
@Retention(value=RUNTIME)@Target(value={TYPE, METHOD, FIELD})
将 Web Service 与外部定义的处理程序链关联。此注释通常用于不适合将处理程序配置直接嵌入 Java 源的情况;例如,需要在多个 Web Service 之间共享处理程序配置的地方,或者处理程序链由多个传输的处理程序组成的地方。 将此注释与 @SOAPMessageHandlers 注释组合在一起是错误的。
Associates the Web Service with an externally defined handler chain. This annotation is typically used in scenarios where embedding the handler configuration directly in the Java source is not appropriate; for example, where the handler configuration needs to be shared across multiple Web Services, or where the handler chain consists of handlers for multiple transports. It is an error to combine this annotation with the @SOAPMessageHandlers annotation.
- Author:
- Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
Required Element Summary | |
---|---|
String |
file
Location of the handler chain file. |
Optional Element Summary | |
---|---|
String |
name
Deprecated. As of JSR-181 2.0 with no replacement. |
Element Detail |
---|
abstract public String
file()
处理程序链文件的位置。
该位置支持两种格式:
- externalForm 形式的绝对 java.net.URL(例如:http://myhandlers.foo.com/handlerfile1.xml)。
- 相对于源文件或类文件的相对路径(例如:bar/handlerfile1.xml)。
file
public abstract String file
- Location of the handler chain file.
The location supports 2 formats:
- An absolute java.net.URL in externalForm (ex: http://myhandlers.foo.com/handlerfile1.xml).
- A relative path from the source file or class file (ex: bar/handlerfile1.xml).
abstract public String
name()
配置文件中的处理程序链的名称。
deprecated | 从 JSR-181 2.0 开始,无替代版本。 |
name
@Deprecated public abstract String name
- Deprecated. As of JSR-181 2.0 with no replacement.
- Name of the handler chain in the configuration file
- Default:
- ""
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!