01 /*
02 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
03 *
04 * This code is free software; you can redistribute it and/or modify it
05 * under the terms of the GNU General Public License version 2 only, as
06 * published by the Free Software Foundation. Sun designates this
07 * particular file as subject to the "Classpath" exception as provided
08 * by Sun in the LICENSE file that accompanied this code.
09 *
10 * This code is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * version 2 for more details (a copy is included in the LICENSE file that
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
21 * CA 95054 USA or visit www.sun.com if you need additional information or
22 * have any questions.
23 */
24
25 /*
26 * Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
27 */
28
29 package javax.jws.soap;
30
31 /**
32 * A single SOAP message handler
33 *
34 * @deprecated As of JSR-181 2.0 with no replacement.
35 *
36 * @author Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
37 */
38 @Deprecated
39 public @interface SOAPMessageHandler {
40
41 /**
42 * Name of the handler. Defaults to the name of the handler class.
43 */
44 String name() default "";
45
46 /**
47 * Name of the handler class.
48 */
49 String className();
50
51 /**
52 * Array of name/value pairs that should be passed to the handler during initialization.
53 */
54 InitParam[] initParams() default {};
55
56 /**
57 * List of SOAP roles/actors implemented by the handler
58 */
59 String[] roles() default {};
60
61 /**
62 * List of SOAP headers processed by the handler. Each element in this array contains a QName which defines the
63 * header element processed by the handler. The QNames are specified using the string notation described in the
64 * documentation for javax.xml.namespace.QName.valueOf(String qNameAsString)
65 */
66 String[] headers() default {};
67 };
|