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  /***
20   * <p>This interface has constants that are specific to the generators.</p>
21   */
22  public class GenerationConstants {
23  
24      //generators
25      public static final int EJB_GENERATOR = 0;
26      public static final int AXIS_WEBSERVICE_WRAPPER_GENERATOR = 1;
27      public static final int WSDL_GENERATOR = 2;
28      public static final int CLIENT_STUB_GENERATOR = 3;
29      public static final int SEI_AND_TYPES_GENERATOR = 4;
30      public static final int HANDLER_GENERATOR = 13;
31      public static final int JAXRPCMAPPER_GENERATOR = 14;
32      public static final int WEBSERVICEDD_GENERATOR = 15;
33      public static final int J2EE_CONTAINER_DD_GENERATOR = 16;
34      public static final int BUILD_FILE_GENERATOR = 17;
35      public static final int WEB_CONTAINER_DD_GENERATOR = 18;
36  
37      //writers
38      public static final int EJB_REMOTE_INTERFACE_WRITER = 5;
39      public static final int EJB_HOME_INTERFACE_WRITER = 6;
40      public static final int EJB_LOCAL_INTERFACE_WRITER = 13;
41      public static final int EJB_LOCAL_HOME_INTERFACE_WRITER = 14;
42  
43      public static final int EJB_IMPLEMENTATION_BEAN_WRITER = 7;
44      public static final int EJB_DD_WRITER = 8;
45      public static final int AXIS_WEBSERVICE_WRAPPER_WRITER = 9;
46      public static final int AXIS_WEBSERVICE_WRAPPER_DEPLOYMENT_FILE_WRITER = 10;
47      public static final int WSDL_FILE_WRITER = 11;
48      public static final int SEI_FILE_WRITER = 12;
49  
50      public static final String OPTION_WS4J2EE_PROPERTY_FILE = "ws4j2ee.ConfigFile";
51  
52      public static final String J2EE_CONTAINER_DD = "j2ee-container-dd";
53      public static final String WS4J2EE_PROPERTY_FILE = "ws4j2ee.properties";
54      public static final String WS4J2EE_PROVIDER = "j2ee";
55      public static final String J2EE_VERSION = "j2ee-version";
56      public static final String J2EE_VERSION_1_3 = "1.3";
57      public static final String J2EE_VERSION_1_4 = "1.4";
58      public static final String AXIS_HOST = "axis-host";
59      public static final String AXIS_PORT = "axis-port";
60      public static final String AXIS_WEBAPPS_LIB = "axis-webapps-lib";
61      public static final String EJB_DEPLOY_DIR = "ejb-deploy";
62  	
63  	
64  //	private static Ws4J2eeProperties properties = new Ws4J2eeProperties();
65  //	public static String getProperty(String key){
66  //		return properties.getProperty(key);
67  //	}
68  
69      /***
70       * j2ee Container DDs
71       */
72      public static final String JBOSS_DD = "jboss.xml";
73      public static final String JONAS_DD = "jonas-ejb-jar.xml";
74      public static final String GERONIMO_DD = "openejb-jar.xml";
75      public static final String GERONIMO_WEB_DD = "geronimo-jetty.xml";
76  
77      /***
78       * j2ee Containers
79       */
80      public static final String JBOSS_CONTAINER = "jboss";
81      public static final String JONAS_CONTAINER = "jonas";
82      public static final String GERONIMO_CONTAINER = "geronimo";
83  
84      /***
85       * implementation styles
86       */
87      public static final String USE_REMOTE = "use-remote";
88      public static final String USE_LOCAL = "use-local";
89      public static final String USE_INTERNALS = "use-internals";
90      public static final String USE_LOCAL_AND_REMOTE = "use-local-remote";
91      public static final String USE_PROVIDER = "USE_PROVIDER";
92  
93      public static final String CONFIG_STORE = "target/configStore";
94      public static final String MAVEN_LOCAL_REPOSITARY = "maven.repo.local";
95      
96  }