KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > handler > PortInfo


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws.handler;
7
8 import javax.xml.namespace.QName JavaDoc;
9
10 /**
11  * The <code>PortInfo</code> interface is used by a
12  * <code>HandlerResolver</code> to query information about
13  * the port it is being asked to create a handler chain for.
14  * <p>
15  * This interface is never implemented by an application,
16  * only by a JAX-WS implementation.
17  *
18  * @since JAX-WS 2.0
19 **/

20 public interface PortInfo {
21
22   /**
23    * Gets the qualified name of the WSDL service name containing
24    * the port being accessed.
25    *
26    * @return javax.xml.namespace.QName The qualified name of the WSDL service.
27   **/

28   public QName JavaDoc getServiceName();
29
30   /**
31    * Gets the qualified name of the WSDL port being accessed.
32    *
33    * @return javax.xml.namespace.QName The qualified name of the WSDL port.
34   **/

35   public QName JavaDoc getPortName();
36
37   /**
38    * Gets the URI identifying the binding used by the port being accessed.
39    *
40    * @return String The binding identifier for the port.
41    *
42    * @see javax.xml.ws.Binding
43   **/

44   public String JavaDoc getBindingID();
45
46 }
47
Popular Tags