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

Fri, 04 Oct 2013 16:21:34 +0100

author
mkos
date
Fri, 04 Oct 2013 16:21:34 +0100
changeset 408
b0610cd08440
parent 368
0989ad8c0860
child 637
9c07ef4934dd
permissions
-rw-r--r--

8025054: Update JAX-WS RI integration to 2.2.9-b130926.1035
Reviewed-by: chegar

     1 /*
     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.
     4  *
     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
     7  * published by the Free Software Foundation.  Oracle designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Oracle in the LICENSE file that accompanied this code.
    10  *
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    14  * version 2 for more details (a copy is included in the LICENSE file that
    15  * accompanied this code).
    16  *
    17  * You should have received a copy of the GNU General Public License version
    18  * 2 along with this work; if not, write to the Free Software Foundation,
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    24  */
    26 package com.sun.xml.internal.ws.api.model.wsdl;
    28 import com.sun.istack.internal.NotNull;
    29 import com.sun.istack.internal.Nullable;
    31 import javax.xml.namespace.QName;
    33 /**
    34  * Abstracts wsdl:service.
    35  *
    36  * @author Vivek Pandey
    37  */
    38 public interface WSDLService extends WSDLObject, WSDLExtensible {
    39     /**
    40      * Gets the {@link WSDLModel} that owns this service.
    41      */
    42     @NotNull
    43     WSDLModel getParent();
    45     /**
    46      * Gets the name of the wsdl:service@name attribute value as local name and wsdl:definitions@targetNamespace
    47      * as the namespace uri.
    48      */
    49     @NotNull
    50     QName getName();
    52     /**
    53      * Gets the {@link WSDLPort} for a given port name
    54      *
    55      * @param portName non-null operationName
    56      * @return null if a {@link WSDLPort} is not found
    57      */
    58     WSDLPort get(QName portName);
    60     /**
    61      * Gets the first {@link WSDLPort} if any, or otherwise null.
    62      */
    63     WSDLPort getFirstPort();
    65     /**
    66     * Gets the first port in this service which matches the portType
    67     */
    68     @Nullable
    69     WSDLPort getMatchingPort(QName portTypeName);
    71     /**
    72      * Gives all the {@link WSDLPort} in a wsdl:service {@link WSDLService}
    73      */
    74     Iterable<? extends WSDLPort> getPorts();
    75 }

mercurial