01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws.handler;
07:
08: import javax.xml.namespace.QName;
09:
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 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 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 getBindingID();
45:
46: }
|