KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > common > ServiceRefHandler


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.dd.api.common;
21 /**
22  * Generated interface for ServiceRefHandler element.
23  *
24  *<p><b><font color="red"><em>Important note: Do not provide an implementation of this interface unless you are a DD API provider!</em></font></b>
25  *</p>
26  */

27 public interface ServiceRefHandler extends ComponentInterface {
28
29     public static final String JavaDoc HANDLER_NAME = "HandlerName"; // NOI18N
30
public static final String JavaDoc HANDLER_CLASS = "HandlerClass"; // NOI18N
31
public static final String JavaDoc INIT_PARAM = "InitParam"; // NOI18N
32
public static final String JavaDoc SOAP_HEADER = "SoapHeader"; // NOI18N
33
public static final String JavaDoc SOAP_ROLE = "SoapRole"; // NOI18N
34
public static final String JavaDoc PORT_NAME = "PortName"; // NOI18N
35
/** Setter for handler-name property.
36      * @param value property value
37      */

38     public void setHandlerName(java.lang.String JavaDoc value);
39     /** Getter for handler-name property.
40      * @return property value
41      */

42     public java.lang.String JavaDoc getHandlerName();
43     /** Setter for handler-class property.
44      * @param value property value
45      */

46     public void setHandlerClass(java.lang.String JavaDoc value);
47     /** Getter for handler-class property.
48      * @return property value
49      */

50     public java.lang.String JavaDoc getHandlerClass();
51     /** Setter for init-param element.
52      * @param index position in the array of elements
53      * @param valueInterface init-param element (InitParam object)
54      */

55     public void setInitParam(int index, InitParam valueInterface);
56     /** Getter for init-param element.
57      * @param index position in the array of elements
58      * @return init-param element (InitParam object)
59      */

60     public InitParam getInitParam(int index);
61     /** Setter for init-param elements.
62      * @param value array of init-param elements (InitParam objects)
63      */

64     public void setInitParam(InitParam[] value);
65     /** Getter for init-param elements.
66      * @return array of init-param elements (InitParam objects)
67      */

68     public InitParam[] getInitParam();
69     /** Returns number of init-param elements.
70      * @return number of init-param elements
71      */

72     public int sizeInitParam();
73     /** Adds init-param element.
74      * @param valueInterface init-param element (InitParam object)
75      * @return index of new init-param
76      */

77     public int addInitParam(InitParam valueInterface);
78     /** Removes init-param element.
79      * @param valueInterface init-param element (InitParam object)
80      * @return index of the removed init-param
81      */

82     public int removeInitParam(InitParam valueInterface);
83     /** Setter for soap-header element.
84      * @param index position in the array of elements
85      * @param value soap-header element
86      */

87     public void setSoapHeader(int index, java.lang.String JavaDoc value);
88     /** Getter for soap-header element.
89      * @param index position in the array of elements
90      * @return soap-header element
91      */

92     public java.lang.String JavaDoc getSoapHeader(int index);
93     /** Setter for soap-header elements.
94      * @param value array of soap-header elements
95      */

96     public void setSoapHeader(java.lang.String JavaDoc[] value);
97     /** Getter for soap-header elements.
98      * @return array of soap-header elements
99      */

100     public java.lang.String JavaDoc[] getSoapHeader();
101     /** Returns number of soap-header elements.
102      * @return number of soap-header elements
103      */

104     public int sizeSoapHeader();
105     /** Adds soap-header element.
106      * @param value soap-header element
107      * @return index of new soap-header
108      */

109     public int addSoapHeader(java.lang.String JavaDoc value);
110     /** Removes soap-header element.
111      * @param value soap-header element
112      * @return index of the removed soap-header
113      */

114     public int removeSoapHeader(java.lang.String JavaDoc value);
115     /** Setter for soap-role element.
116      * @param index position in the array of elements
117      * @param value soap-role element
118      */

119     public void setSoapRole(int index, java.lang.String JavaDoc value);
120     /** Getter for soap-role element.
121      * @param index position in the array of elements
122      * @return soap-role element
123      */

124     public java.lang.String JavaDoc getSoapRole(int index);
125     /** Setter for soap-role elements.
126      * @param value array of soap-role elements
127      */

128     public void setSoapRole(java.lang.String JavaDoc[] value);
129     /** Getter for soap-role elements.
130      * @return array of soap-role elements
131      */

132     public java.lang.String JavaDoc[] getSoapRole();
133     /** Returns number of soap-role elements.
134      * @return number of soap-role elements
135      */

136     public int sizeSoapRole();
137     /** Adds soap-role element.
138      * @param value soap-role element
139      * @return index of new soap-role
140      */

141     public int addSoapRole(java.lang.String JavaDoc value);
142     /** Removes soap-role element.
143      * @param value soap-role element
144      * @return index of the removed soap-role
145      */

146     public int removeSoapRole(java.lang.String JavaDoc value);
147     /** Setter for port-name element.
148      * @param index position in the array of elements
149      * @param value port-name element
150      */

151     public void setPortName(int index, java.lang.String JavaDoc value);
152     /** Getter for port-name element.
153      * @param index position in the array of elements
154      * @return port-name element
155      */

156     public java.lang.String JavaDoc getPortName(int index);
157     /** Setter for port-name elements.
158      * @param value array of port-name elements
159      */

160     public void setPortName(java.lang.String JavaDoc[] value);
161     /** Getter for port-name elements.
162      * @return array of port-name elements
163      */

164     public java.lang.String JavaDoc[] getPortName();
165     /** Returns number of port-name elements.
166      * @return number of port-name elements
167      */

168     public int sizePortName();
169     /** Adds port-name element.
170      * @param value port-name element
171      * @return index of new port-name
172      */

173     public int addPortName(java.lang.String JavaDoc value);
174     /** Removes port-name element.
175      * @param value port-name element
176      * @return index of the removed port-name
177      */

178     public int removePortName(java.lang.String JavaDoc value);
179
180 }
181
Popular Tags