1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
37 import javax.xml.ws.WebServiceFeature; |
37 import javax.xml.ws.WebServiceFeature; |
38 import javax.xml.ws.handler.Handler; |
38 import javax.xml.ws.handler.Handler; |
39 import java.util.List; |
39 import java.util.List; |
40 import java.util.Set; |
40 import java.util.Set; |
41 |
41 |
|
42 |
42 /** |
43 /** |
43 * JAX-WS implementation of {@link Binding}. |
44 * JAX-WS implementation of {@link Binding}. |
44 * |
45 * |
45 * <p> |
46 * <p> |
46 * This object can be created by {@link BindingID#createBinding()}. |
47 * This object can be created by {@link BindingID#createBinding()}. |
186 */ |
188 */ |
187 @NotNull WSFeatureList getFaultMessageFeatures(@NotNull final QName operationName, |
189 @NotNull WSFeatureList getFaultMessageFeatures(@NotNull final QName operationName, |
188 @NotNull final QName messageName); |
190 @NotNull final QName messageName); |
189 |
191 |
190 /** |
192 /** |
191 * Returns set of header QNames known to be supported by this binding. Tubes should use this |
193 * Returns set of header QNames known to be supported by this binding. |
192 * Set to add QNames for headers they process so that must-understand processing can validate |
|
193 * headers on inbound messages |
|
194 * @return Set of known QNames |
194 * @return Set of known QNames |
195 */ |
195 */ |
196 @NotNull Set<QName> getKnownHeaders(); |
196 @NotNull Set<QName> getKnownHeaders(); |
|
197 |
|
198 /** |
|
199 * Adds header QName to set known to be supported by this binding |
|
200 * @param knownHeader Known header QName |
|
201 * @return true, if new entry was added; false, if known header QName was already known |
|
202 */ |
|
203 boolean addKnownHeader(QName knownHeader); |
|
204 |
|
205 /** |
|
206 * @return A MessageContextFactory configured according to the binding's features. |
|
207 */ |
|
208 @NotNull com.oracle.webservices.internal.api.message.MessageContextFactory getMessageContextFactory(); |
197 } |
209 } |