KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > servicemix > sca > assembly > JbiBinding


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.servicemix.sca.assembly;
18
19 import javax.wsdl.Definition;
20 import javax.wsdl.Port;
21 import javax.wsdl.PortType;
22 import javax.wsdl.Service;
23 import javax.xml.namespace.QName JavaDoc;
24
25 import org.apache.tuscany.model.assembly.Binding;
26
27 public interface JbiBinding extends Binding {
28
29     /**
30      * Returns the URI of the WSDL port for this binding.
31      * @return the URI of the WSDL port for this binding
32      */

33     String JavaDoc getPortURI();
34
35     /**
36      * Set the URI of the WSDL port for this binding.
37      * @param portURI the URI of the WSDL port
38      */

39     void setPortURI(String JavaDoc portURI);
40     
41     /**
42      * Returns the service name.
43      * @return the service name
44      */

45     QName JavaDoc getServiceName();
46     
47     /**
48      * Returns the endpoint name.
49      * @return the endpoint name
50      */

51     String JavaDoc getEndpointName();
52     
53     /**
54      * Returns the interface name.
55      * @returnthe interface name
56      */

57     QName JavaDoc getInterfaceName();
58     
59     /**
60      * Returns the WSDL definition containing the WSDL port.
61      * @return the WSDL definition containing the WSDL port
62      */

63     Definition getDefinition();
64
65     /**
66      * Returns the the WSDL service.
67      * @return the WSDL service
68      */

69     Service getService();
70     
71     /**
72      * Returns the WSDL port defining this binding.
73      * @return the WSDL port defining this binding
74      */

75     Port getPort();
76     
77     /**
78      * Returns the WSDL port type.
79      * @return the WSDL port type
80      */

81     PortType getPortType();
82     
83 }
84
Popular Tags