01: /*
02: * Portions Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun in the LICENSE file that accompanied this code.
10: *
11: * This code is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14: * version 2 for more details (a copy is included in the LICENSE file that
15: * accompanied this code).
16: *
17: * You should have received a copy of the GNU General Public License version
18: * 2 along with this work; if not, write to the Free Software Foundation,
19: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20: *
21: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25: package com.sun.tools.internal.ws.processor.modeler.annotation;
26:
27: import javax.xml.ws.Holder;
28:
29: /**
30: *
31: * @author dkohlert
32: */
33: public interface WebServiceConstants { //extends RmiConstants {
34:
35: public static final String RETURN = "return";
36: public static final String RETURN_CAPPED = "Return";
37: public static final String RETURN_VALUE = "_return";
38: public static final String SERVICE = "Service";
39: public static final String PD = ".";
40: public static final String JAXWS = "jaxws";
41: public static final String JAXWS_PACKAGE_PD = JAXWS + PD;
42: public static final String PD_JAXWS_PACKAGE_PD = PD + JAXWS + PD;
43: public static final String BEAN = "Bean";
44: public static final String GET_PREFIX = "get";
45: public static final String IS_PREFIX = "is";
46: public static final String FAULT_INFO = "faultInfo";
47: public static final String GET_FAULT_INFO = "getFaultInfo";
48: public static final String HTTP_PREFIX = "http://";
49: public static final String JAVA_LANG_OBJECT = "java.lang.Object";
50: public static final String EMTPY_NAMESPACE_ID = "";
51:
52: public static final char SIGC_INNERCLASS = '$';
53: public static final char SIGC_UNDERSCORE = '_';
54:
55: public static final String DOT = ".";
56: public static final String PORT = "Port";
57: public static final String BINDING = "Binding";
58: public static final String RESPONSE = "Response";
59:
60: /*
61: * Identifiers potentially useful for all Generators
62: */
63: public static final String EXCEPTION_CLASSNAME = java.lang.Exception.class
64: .getName();
65: public static final String REMOTE_CLASSNAME = java.rmi.Remote.class
66: .getName();
67: public static final String REMOTE_EXCEPTION_CLASSNAME = java.rmi.RemoteException.class
68: .getName();
69: public static final String RUNTIME_EXCEPTION_CLASSNAME = java.lang.RuntimeException.class
70: .getName();
71: public static final String SERIALIZABLE_CLASSNAME = java.io.Serializable.class
72: .getName();
73: public static final String HOLDER_CLASSNAME = javax.xml.ws.Holder.class
74: .getName();
75: public static final String COLLECTION_CLASSNAME = java.util.Collection.class
76: .getName();
77: public static final String MAP_CLASSNAME = java.util.Map.class
78: .getName();
79:
80: // 181 constants
81: public static final String WEBSERVICE_NAMESPACE = "http://www.bea.com/xml/ns/jws";
82: public static final String HANDLER_CONFIG = "handler-config";
83: public static final String HANDLER_CHAIN = "handler-chain";
84: public static final String HANDLER_CHAIN_NAME = "handler-chain-name";
85: public static final String HANDLER = "handler";
86: public static final String HANDLER_NAME = "handler-name";
87: public static final String HANDLER_CLASS = "handler-class";
88: public static final String INIT_PARAM = "init-param";
89: public static final String SOAP_ROLE = "soap-role";
90: public static final String SOAP_HEADER = "soap-header";
91: public static final String PARAM_NAME = "param-name";
92: public static final String PARAM_VALUE = "param-value";
93: }
|