View Javadoc

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.geronimo.ews.ws4j2ee.context.webservices.server.interfaces;
17  
18  import org.apache.geronimo.ews.ws4j2ee.toWs.GenerationFault;
19  
20  /***
21   * This will inteface the wholw webservices.xml file and will give sufficient access to
22   * all the elements and attrebutes either directly or through other interfaces.
23   */
24  public interface WSCFContext {
25      /***
26       * Gets the Description element of the webservices.xml
27       *
28       * @return description
29       */
30      public String getDescription();
31  
32      /***
33       * Gets the display name element of the webservices.xml
34       *
35       * @return display name
36       */
37      public String getDisplayName();
38  
39      /***
40       * Gets the small icon of the webservices,xml
41       *
42       * @return small icon
43       */
44      public String getSmallIcon();
45  
46      /***
47       * Gets the large icon of the webservices.xml
48       *
49       * @return large icon
50       */
51      public String getLargeIcon();
52  
53      /***
54       * Gets the webservice description elements as an array
55       *
56       * @return web service description(s)
57       */
58      public WSCFWebserviceDescription[] getWebServicesDescription();
59  
60      public void serialize(java.io.Writer out) throws GenerationFault;
61  
62      /***
63       * WSCF artifacts correponds to the current WSCF file.
64       * If one element is in the wsdl theu are used. How to select them
65       * if there is more than one is still to do.
66       *
67       * @return
68       */
69      public WSCFWebserviceDescription getWscfdWsDesxription();
70  
71      public void setWscfdWsDescription(WSCFWebserviceDescription description);
72  
73      public WSCFPortComponent getWscfport();
74  
75      public void setWscfport(WSCFPortComponent component);
76  
77  }