Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IRegistryBase |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2001-2004 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 at | |
7 | * | |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * 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 and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.apache.ws.scout.registry; | |
17 | ||
18 | import java.net.URI; | |
19 | ||
20 | import org.apache.ws.scout.transport.Transport; | |
21 | import org.apache.ws.scout.transport.TransportException; | |
22 | ||
23 | /** | |
24 | * | |
25 | * IRegistryBase interface. | |
26 | * | |
27 | * <p>Provides a common interface to IRegistry and IRegistryV3 and any | |
28 | * subsequent directory implementation.</p> | |
29 | * | |
30 | * <i>Borrowed from jUDDI.</i> | |
31 | * | |
32 | * | |
33 | * @author <a href="mailto:tcunning@apache.org">Tom Cunningham</a> | |
34 | */ | |
35 | ||
36 | public interface IRegistryBase { | |
37 | ||
38 | String execute(String uddiRequest, String urltype) throws TransportException; | |
39 | ||
40 | /** | |
41 | * @return Returns the inquiryURL. | |
42 | */ | |
43 | URI getInquiryURI(); | |
44 | ||
45 | /** | |
46 | * @param uri The inquiry uri to set. | |
47 | */ | |
48 | void setInquiryURI(URI uri); | |
49 | ||
50 | /** | |
51 | * @return Returns the publishURL. | |
52 | */ | |
53 | URI getPublishURI(); | |
54 | ||
55 | /** | |
56 | * @param uri The publish uri to set. | |
57 | */ | |
58 | void setPublishURI(URI uri); | |
59 | ||
60 | /** | |
61 | * @return Returns the publishURL. | |
62 | */ | |
63 | URI getSecurityURI(); | |
64 | ||
65 | /** | |
66 | * @param uri The publish uri to set. | |
67 | */ | |
68 | void setSecurityURI(URI uri); | |
69 | ||
70 | ||
71 | /** | |
72 | * @return Returns the transport. | |
73 | */ | |
74 | Transport getTransport(); | |
75 | ||
76 | /** | |
77 | * @param transport The transport to set. | |
78 | */ | |
79 | void setTransport(Transport transport); | |
80 | ||
81 | } |