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  
17  package org.apache.geronimo.ews.ws4j2ee.toWs;
18  
19  import org.apache.axis.wsdl.fromJava.Emitter;
20  import org.apache.geronimo.ews.ws4j2ee.context.J2EEWebServiceContext;
21  import org.apache.geronimo.ews.ws4j2ee.context.j2eeDD.EJBContext;
22  
23  /***
24   * @author hemapani@opensource.lk
25   */
26  public interface GenerationFactory {
27      public Writer createEJBWriter(J2EEWebServiceContext j2eewscontext,
28                                    EJBContext ejbcontext,
29                                    int writerType)
30              throws GenerationFault;
31  
32      public Generator createEJBGenerator(J2EEWebServiceContext j2eewscontext)
33              throws GenerationFault;
34  
35      public Generator createWrapperWsGenerator(J2EEWebServiceContext j2eewscontext)
36              throws GenerationFault;
37  
38      public Generator createClientSideWsGenerator(J2EEWebServiceContext j2eewscontext)
39              throws GenerationFault;
40  
41      public Generator createWSDLGenerator(J2EEWebServiceContext wscontext,
42                                           Emitter emitter,
43                                           Ws4J2eeDeployContext clparser) throws GenerationFault;
44  
45      public Generator createServerSideWsGenerator(J2EEWebServiceContext j2eewscontext)
46              throws GenerationFault;
47  
48      public Generator createHandlerGenerator(J2EEWebServiceContext j2eewscontext)
49              throws GenerationFault;
50  
51      public Generator createJaxrpcMapperGenerator(J2EEWebServiceContext j2eewscontext)
52              throws GenerationFault;
53  
54      public Generator createContainerSpecificDDGenerator(J2EEWebServiceContext j2eewscontext)
55              throws GenerationFault;
56  
57      public Generator createBuildFileGenerator(J2EEWebServiceContext j2eewscontext)
58              throws GenerationFault;
59  
60      public Generator createWebContainerDDGenerator(J2EEWebServiceContext j2eewscontext)
61              throws GenerationFault;
62  }