1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -39,6 +39,7 @@ 1.11 import java.util.List; 1.12 import java.util.Set; 1.13 1.14 + 1.15 /** 1.16 * JAX-WS implementation of {@link Binding}. 1.17 * 1.18 @@ -97,7 +98,8 @@ 1.19 */ 1.20 @NotNull BindingID getBindingId(); 1.21 1.22 - @NotNull List<Handler> getHandlerChain(); 1.23 + @NotNull@Override 1.24 + List<Handler> getHandlerChain(); 1.25 1.26 /** 1.27 * Checks if a particular {@link WebServiceFeature} is enabled. 1.28 @@ -188,10 +190,20 @@ 1.29 @NotNull final QName messageName); 1.30 1.31 /** 1.32 - * Returns set of header QNames known to be supported by this binding. Tubes should use this 1.33 - * Set to add QNames for headers they process so that must-understand processing can validate 1.34 - * headers on inbound messages 1.35 + * Returns set of header QNames known to be supported by this binding. 1.36 * @return Set of known QNames 1.37 */ 1.38 @NotNull Set<QName> getKnownHeaders(); 1.39 + 1.40 + /** 1.41 + * Adds header QName to set known to be supported by this binding 1.42 + * @param knownHeader Known header QName 1.43 + * @return true, if new entry was added; false, if known header QName was already known 1.44 + */ 1.45 + boolean addKnownHeader(QName knownHeader); 1.46 + 1.47 + /** 1.48 + * @return A MessageContextFactory configured according to the binding's features. 1.49 + */ 1.50 + @NotNull com.oracle.webservices.internal.api.message.MessageContextFactory getMessageContextFactory(); 1.51 }