1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, 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 |
60 * Gets the first {@link WSDLPort} if any, or otherwise null. |
61 * Gets the first {@link WSDLPort} if any, or otherwise null. |
61 */ |
62 */ |
62 WSDLPort getFirstPort(); |
63 WSDLPort getFirstPort(); |
63 |
64 |
64 /** |
65 /** |
|
66 * Gets the first port in this service which matches the portType |
|
67 */ |
|
68 @Nullable |
|
69 WSDLPort getMatchingPort(QName portTypeName); |
|
70 |
|
71 /** |
65 * Gives all the {@link WSDLPort} in a wsdl:service {@link WSDLService} |
72 * Gives all the {@link WSDLPort} in a wsdl:service {@link WSDLService} |
66 */ |
73 */ |
67 Iterable<? extends WSDLPort> getPorts(); |
74 Iterable<? extends WSDLPort> getPorts(); |
68 } |
75 } |