01: /**
02: * $Id: PortTypeDescriptor.java,v 1.5 2003/06/03 10:49:22 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. It contains information about
19: * operations associated with this port type.
20: *
21: */
22: public interface PortTypeDescriptor {
23:
24: /**
25: * Get the name of this PortTypeDescriptor.
26: *
27: * @return the PortTypeDescriptor name.
28: */
29: public String getName();
30:
31: /**
32: * Get the specified OperationDescriptor. Note that operation names
33: * can be overloaded within a PortType. In case of overloading, the
34: * names of the input and output messages can be used to further
35: * refine the search.
36: *
37: * @param name the name of the desired OperationDescriptor.
38: * @param inputName the name of the input message; if this is null
39: * it will be ignored.
40: * @param outputName the name of the output message; if this is null
41: * it will be ignored.
42: *
43: * @return the corresponding operation, or null if there wasn't
44: * any matching operation
45: */
46: public OperationDescriptor getOperationDescriptor(String name,
47: String inputName, String outputName);
48:
49: /**
50: * Get all the OperationDescriptors defined here.
51: *
52: * @return the list of OperationDescriptors.
53: */
54: public List getOperationDescriptors();
55: }
|