src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLService.java

changeset 408
b0610cd08440
parent 368
0989ad8c0860
child 637
9c07ef4934dd
equal deleted inserted replaced
405:cc682329886b 408:b0610cd08440
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
24 */ 24 */
25 25
26 package com.sun.xml.internal.ws.api.model.wsdl; 26 package com.sun.xml.internal.ws.api.model.wsdl;
27 27
28 import com.sun.istack.internal.NotNull; 28 import com.sun.istack.internal.NotNull;
29 import com.sun.istack.internal.Nullable;
29 30
30 import javax.xml.namespace.QName; 31 import javax.xml.namespace.QName;
31 32
32 /** 33 /**
33 * Abstracts wsdl:service. 34 * Abstracts wsdl:service.
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 }

mercurial