01: /**
02: * $Id: BindingDescriptor.java,v 1.6 2003/06/03 10:49:21 sy131129 Exp $
03: * Copyright 2002-2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.providers.simplewebservice.wsdl;
14:
15: import java.util.List;
16:
17: /**
18: * This interface represents a port type binding and describes the
19: * protocol required for using operations in a port type.
20: *
21: */
22: public interface BindingDescriptor {
23:
24: /**
25: * Get the name of this BindingDescriptor.
26: *
27: * @return the BindingDescriptor name.
28: */
29: public String getName();
30:
31: /**
32: * Get the name of the PortTypeDescriptor associated with this BindingDescriptor.
33: *
34: * @return the name of the associated PortTypeDescriptor.
35: */
36: public String getPortTypeDescriptorName();
37:
38: /**
39: * Get the SOAP Binding Style for this BindingDescriptor.
40: *
41: * @return the BindingDescriptor SOAP Binding Style.
42: */
43: public String getSOAPBindingStyle();
44:
45: /**
46: * Get the SOAP Binding Transport for this BindingDescriptor.
47: *
48: * @return the BindingDescriptor SOAP Binding Transport.
49: */
50: public String getSOAPBindingTransport();
51:
52: /**
53: * Get the specified BindingOperationDescriptor. Note that operation
54: * names can be overloaded within a PortType. In case of overloading, the
55: * names of the input and output messages can be used to further
56: * refine the search.
57: *
58: * @param name the name of the desired BindingOperationDescriptor.
59: * @param inputName the name of the BindingInputDescriptor; if this is null
60: * it will be ignored.
61: * @param outputName the name of the BindingOutputDescriptor; if this is null
62: * it will be ignored.
63: *
64: * @return the corresponding BindingOperationDescriptor, or null if there wasn't
65: * any matching BindingOperationDescriptor.
66: */
67: public BindingOperationDescriptor getBindingOperationDescriptor(
68: String name, String inputName, String outputName);
69:
70: /**
71: * Get all the BindingOperationDescriptors defined here.
72: *
73: * @return the BindingOperationDescriptors.
74: */
75: public List getBindingOperationDescriptors();
76:
77: }
|