diff -r 8c0b6bccfe47 -r 0989ad8c0860 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Thu Apr 04 19:05:24 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Tue Apr 09 14:51:13 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -39,6 +39,7 @@ import java.util.List; import java.util.Set; + /** * JAX-WS implementation of {@link Binding}. * @@ -97,7 +98,8 @@ */ @NotNull BindingID getBindingId(); - @NotNull List getHandlerChain(); + @NotNull@Override + List getHandlerChain(); /** * Checks if a particular {@link WebServiceFeature} is enabled. @@ -188,10 +190,20 @@ @NotNull final QName messageName); /** - * Returns set of header QNames known to be supported by this binding. Tubes should use this - * Set to add QNames for headers they process so that must-understand processing can validate - * headers on inbound messages + * Returns set of header QNames known to be supported by this binding. * @return Set of known QNames */ @NotNull Set getKnownHeaders(); + + /** + * Adds header QName to set known to be supported by this binding + * @param knownHeader Known header QName + * @return true, if new entry was added; false, if known header QName was already known + */ + boolean addKnownHeader(QName knownHeader); + + /** + * @return A MessageContextFactory configured according to the binding's features. + */ + @NotNull com.oracle.webservices.internal.api.message.MessageContextFactory getMessageContextFactory(); }