1/*2 * Copyright 2001-2009 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 *16 */17package org.apache.juddi.v3.client.transport;
1819import org.apache.juddi.v3_service.JUDDIApiPortType;
20import org.uddi.v3_service.UDDICustodyTransferPortType;
21import org.uddi.v3_service.UDDIInquiryPortType;
22import org.uddi.v3_service.UDDIPublicationPortType;
23import org.uddi.v3_service.UDDISecurityPortType;
24import org.uddi.v3_service.UDDISubscriptionListenerPortType;
25import org.uddi.v3_service.UDDISubscriptionPortType;;
2627/**28 * This abstract class defined the basic model for accessing different transport mechanisms29 * using the same interfaces for UDDIv3.30 * @see JAXWSTransport31 * @see InVMTransport32 * 33 */34publicabstractclassTransport {
3536publicfinalstatic String DEFAULT_NODE_NAME = "default";
3738publicabstract UDDIInquiryPortType getUDDIInquiryService(String endpointURL) throws TransportException;
39publicabstract UDDISecurityPortType getUDDISecurityService(String endpointURL) throws TransportException;
40publicabstract UDDIPublicationPortType getUDDIPublishService(String endpointURL) throws TransportException;
41publicabstract UDDISubscriptionPortType getUDDISubscriptionService(String endpointURL) throws TransportException;
42publicabstract UDDICustodyTransferPortType getUDDICustodyTransferService(String endpointURL) throws TransportException;
43publicabstract UDDISubscriptionListenerPortType getUDDISubscriptionListenerService(String endpointURL) throws TransportException;
44publicabstract JUDDIApiPortType getJUDDIApiService(String endpointURL) throws TransportException;
4546public UDDIInquiryPortType getUDDIInquiryService() throws TransportException {
47return getUDDIInquiryService(null);
48 }
49public UDDISecurityPortType getUDDISecurityService() throws TransportException {
50return getUDDISecurityService(null);
51 }
52public UDDIPublicationPortType getUDDIPublishService() throws TransportException {
53return getUDDIPublishService(null);
54 }
55public UDDISubscriptionPortType getUDDISubscriptionService() throws TransportException {
56return getUDDISubscriptionService(null);
57 }
58public UDDISubscriptionListenerPortType getUDDISubscriptionListenerService() throws TransportException {
59return getUDDISubscriptionListenerService(null);
60 }
61public UDDICustodyTransferPortType getUDDICustodyTransferService() throws TransportException {
62return getUDDICustodyTransferService(null);
63 }
64public JUDDIApiPortType getJUDDIApiService() throws TransportException {
65return getJUDDIApiService(null);
66 }
67 }