KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > web > dd > 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.api.web.dd;
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  * @deprecated Use the API for web module deployment descriptor in j2ee/ddapi module.
27  */

28 public interface ServiceRefHandler extends org.netbeans.api.web.dd.common.ComponentInterface {
29         /** Setter for handler-name property.
30          * @param value property value
31          */

32     public void setHandlerName(java.lang.String JavaDoc value);
33         /** Getter for handler-name property.
34          * @return property value
35          */

36     public java.lang.String JavaDoc getHandlerName();
37         /** Setter for handler-class property.
38          * @param value property value
39          */

40     public void setHandlerClass(java.lang.String JavaDoc value);
41         /** Getter for handler-class property.
42          * @return property value
43          */

44     public java.lang.String JavaDoc getHandlerClass();
45         /** Setter for init-param element.
46          * @param index position in the array of elements
47          * @param valueInterface init-param element (InitParam object)
48          */

49     public void setInitParam(int index, org.netbeans.api.web.dd.InitParam valueInterface);
50         /** Getter for init-param element.
51          * @param index position in the array of elements
52          * @return init-param element (InitParam object)
53          */

54     public org.netbeans.api.web.dd.InitParam getInitParam(int index);
55         /** Setter for init-param elements.
56          * @param value array of init-param elements (InitParam objects)
57          */

58     public void setInitParam(org.netbeans.api.web.dd.InitParam[] value);
59         /** Getter for init-param elements.
60          * @return array of init-param elements (InitParam objects)
61          */

62     public org.netbeans.api.web.dd.InitParam[] getInitParam();
63         /** Returns number of init-param elements.
64          * @return number of init-param elements
65          */

66     public int sizeInitParam();
67         /** Adds init-param element.
68          * @param valueInterface init-param element (InitParam object)
69          * @return index of new init-param
70          */

71     public int addInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
72         /** Removes init-param element.
73          * @param valueInterface init-param element (InitParam object)
74          * @return index of the removed init-param
75          */

76     public int removeInitParam(org.netbeans.api.web.dd.InitParam valueInterface);
77         /** Setter for soap-header element.
78          * @param index position in the array of elements
79          * @param value soap-header element
80          */

81     public void setSoapHeader(int index, java.lang.String JavaDoc value);
82         /** Getter for soap-header element.
83          * @param index position in the array of elements
84          * @return soap-header element
85          */

86     public java.lang.String JavaDoc getSoapHeader(int index);
87         /** Setter for soap-header elements.
88          * @param value array of soap-header elements
89          */

90     public void setSoapHeader(java.lang.String JavaDoc[] value);
91         /** Getter for soap-header elements.
92          * @return array of soap-header elements
93          */

94     public java.lang.String JavaDoc[] getSoapHeader();
95         /** Returns number of soap-header elements.
96          * @return number of soap-header elements
97          */

98     public int sizeSoapHeader();
99         /** Adds soap-header element.
100          * @param value soap-header element
101          * @return index of new soap-header
102          */

103     public int addSoapHeader(java.lang.String JavaDoc value);
104         /** Removes soap-header element.
105          * @param value soap-header element
106          * @return index of the removed soap-header
107          */

108     public int removeSoapHeader(java.lang.String JavaDoc value);
109         /** Setter for soap-role element.
110          * @param index position in the array of elements
111          * @param value soap-role element
112          */

113     public void setSoapRole(int index, java.lang.String JavaDoc value);
114         /** Getter for soap-role element.
115          * @param index position in the array of elements
116          * @return soap-role element
117          */

118     public java.lang.String JavaDoc getSoapRole(int index);
119         /** Setter for soap-role elements.
120          * @param value array of soap-role elements
121          */

122     public void setSoapRole(java.lang.String JavaDoc[] value);
123         /** Getter for soap-role elements.
124          * @return array of soap-role elements
125          */

126     public java.lang.String JavaDoc[] getSoapRole();
127         /** Returns number of soap-role elements.
128          * @return number of soap-role elements
129          */

130     public int sizeSoapRole();
131         /** Adds soap-role element.
132          * @param value soap-role element
133          * @return index of new soap-role
134          */

135     public int addSoapRole(java.lang.String JavaDoc value);
136         /** Removes soap-role element.
137          * @param value soap-role element
138          * @return index of the removed soap-role
139          */

140     public int removeSoapRole(java.lang.String JavaDoc value);
141         /** Setter for port-name element.
142          * @param index position in the array of elements
143          * @param value port-name element
144          */

145     public void setPortName(int index, java.lang.String JavaDoc value);
146         /** Getter for port-name element.
147          * @param index position in the array of elements
148          * @return port-name element
149          */

150     public java.lang.String JavaDoc getPortName(int index);
151         /** Setter for port-name elements.
152          * @param value array of port-name elements
153          */

154     public void setPortName(java.lang.String JavaDoc[] value);
155         /** Getter for port-name elements.
156          * @return array of port-name elements
157          */

158     public java.lang.String JavaDoc[] getPortName();
159         /** Returns number of port-name elements.
160          * @return number of port-name elements
161          */

162     public int sizePortName();
163         /** Adds port-name element.
164          * @param value port-name element
165          * @return index of new port-name
166          */

167     public int addPortName(java.lang.String JavaDoc value);
168         /** Removes port-name element.
169          * @param value port-name element
170          * @return index of the removed port-name
171          */

172     public int removePortName(java.lang.String JavaDoc value);
173
174 }
175
Popular Tags