KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > wsm > model > BeehiveWsTypeMetadata


1 /*
2  * Copyright 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  * $Header:$Factory
17  */

18 package org.apache.beehive.wsm.model;
19
20 import org.apache.beehive.wsm.model.java.JavaTypeInfo;
21
22 import java.net.URL JavaDoc;
23 import java.util.Collection JavaDoc;
24 import java.util.List JavaDoc;
25
26 /**
27  * @author Daryoush
28  */

29 public interface BeehiveWsTypeMetadata {
30
31     void initHandlersFromChainConfig(URL JavaDoc chainConfigURL, String JavaDoc chainName)
32         throws Exception JavaDoc;
33
34     String JavaDoc getHcFileName();
35     void setHcFileName(String JavaDoc hcFileName);
36     
37     public String JavaDoc getHcName();
38     public void setHcName(String JavaDoc hcName);
39         
40     String JavaDoc getSiValue();
41     void setSiValue(String JavaDoc siValue);
42     
43     BeehiveWsSOAPBindingInfo getSoapBinding();
44     void setSoapBinding(BeehiveWsSOAPBindingInfo soapBinding);
45     
46     String JavaDoc getWsName();
47     void setWsName(String JavaDoc wsName);
48     
49     String JavaDoc getWsServiceName();
50     void setWsServiceName(String JavaDoc wsServiceName);
51     
52     String JavaDoc getWsTargetNamespace();
53     void setWsTargetNamespace(String JavaDoc wsTargetNamespace);
54     public String JavaDoc[] getTargetNamespaceParts();
55     
56     String JavaDoc getWsEndpointInterface();
57     void setWsEndpointInterface(String JavaDoc wsEndpointInterface);
58     
59     String JavaDoc getWsWsdlLocation();
60     void setWsWsdlLocation(String JavaDoc wsWsdlLocation);
61     
62     Collection JavaDoc<? extends BeehiveWsMethodMetadata> getMethods();
63
64     public abstract BeehiveWsMethodMetadata getMethod(String JavaDoc methodName, Class JavaDoc... paramTypes);
65     
66     /**
67      * @throws ValidationException if duplicate methods are encountered or if a
68      * Document style service attempts to overload methods.
69      */

70     void addMethod(BeehiveWsMethodMetadata method) throws ValidationException;
71     
72     List JavaDoc<? extends BeehiveWsSOAPMessageHandlerInfo> getSoapHandlers();
73     void addSOAPHandler(BeehiveWsSOAPMessageHandlerInfo soapHandler);
74     
75     String JavaDoc getClassName();
76     void setClassName(String JavaDoc className);
77     
78     void merge(JavaTypeInfo jt) throws Exception JavaDoc;
79 }
80
Popular Tags