KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > api > web > dd > ServiceRef


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 ServiceRef 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 ServiceRef extends org.netbeans.api.web.dd.common.ComponentInterface {
29         /** Setter for service-ref-name property.
30          * @param value property value
31          */

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

36     public java.lang.String JavaDoc getServiceRefName();
37         /** Setter for service-interface property.
38          * @param value property value
39          */

40     public void setServiceInterface(java.lang.String JavaDoc value);
41         /** Getter for service-interface property.
42          * @return property value
43          */

44     public java.lang.String JavaDoc getServiceInterface();
45         /** Setter for wsdl-file property.
46          * @param value property value
47          */

48     public void setWsdlFile(java.net.URI JavaDoc value);
49         /** Getter for wsdl-file property.
50          * @return property value
51          */

52     public java.net.URI JavaDoc getWsdlFile();
53         /** Setter for jaxrpc-mapping-file property.
54          * @param value property value
55          */

56     public void setJaxrpcMappingFile(java.lang.String JavaDoc value);
57         /** Getter for jaxrpc-mapping-file property.
58          * @return property value
59          */

60     public java.lang.String JavaDoc getJaxrpcMappingFile();
61         /** Setter for service-qname property.
62          * @param value property value
63          */

64     public void setServiceQname(java.lang.String JavaDoc value);
65         /** Getter for service-qname property.
66          * @return property value
67          */

68     public java.lang.String JavaDoc getServiceQname();
69         /** Setter for port-component-ref element.
70          * @param index position in the array of elements
71          * @param valueInterface port-component-ref element (PortComponentRef object)
72          */

73     public void setPortComponentRef(int index, org.netbeans.api.web.dd.PortComponentRef valueInterface);
74         /** Getter for port-component-ref element.
75          * @param index position in the array of elements
76          * @return port-component-ref element (PortComponentRef object)
77          */

78     public org.netbeans.api.web.dd.PortComponentRef getPortComponentRef(int index);
79         /** Setter for port-component-ref elements.
80          * @param value array of port-component-ref elements (PortComponentRef objects)
81          */

82     public void setPortComponentRef(org.netbeans.api.web.dd.PortComponentRef[] value);
83         /** Getter for port-component-ref elements.
84          * @return array of port-component-ref elements (PortComponentRef objects)
85          */

86     public org.netbeans.api.web.dd.PortComponentRef[] getPortComponentRef();
87         /** Returns size of port-component-ref elements.
88          * @return number of port-component-ref elements
89          */

90     public int sizePortComponentRef();
91         /** Adds port-component-ref element.
92          * @param valueInterface port-component-ref element (PortComponentRef object)
93          * @return index of new port-component-ref
94          */

95     public int addPortComponentRef(org.netbeans.api.web.dd.PortComponentRef valueInterface);
96         /** Removes port-component-ref element.
97          * @param valueInterface port-component-ref element (PortComponentRef object)
98          * @return index of the removed port-component-ref
99          */

100     public int removePortComponentRef(org.netbeans.api.web.dd.PortComponentRef valueInterface);
101         /** Setter for handler element.
102          * @param index position in the array of elements
103          * @param valueInterface handler element (SeviceRefHandler object)
104          */

105     public void setHandler(int index, org.netbeans.api.web.dd.ServiceRefHandler valueInterface);
106         /** Getter for handler element.
107          * @param index position in the array of elements
108          * @return handler element (SeviceRefHandler object)
109          */

110     public org.netbeans.api.web.dd.ServiceRefHandler getHandler(int index);
111         /** Setter for handler elements.
112          * @param value array of handler elements (SeviceRefHandler objects)
113          */

114     public void setHandler(org.netbeans.api.web.dd.ServiceRefHandler[] value);
115         /** Getter for handler elements.
116          * @return array of handler elements (SeviceRefHandler objects)
117          */

118     public org.netbeans.api.web.dd.ServiceRefHandler[] getHandler();
119         /** Returns size of handler elements.
120          * @return number of handler elements
121          */

122     public int sizeHandler();
123         /** Adds handler element.
124          * @param valueInterface handler element (SeviceRefHandler object)
125          * @return index of new handler
126          */

127     public int addHandler(org.netbeans.api.web.dd.ServiceRefHandler valueInterface);
128         /** Removes handler element.
129          * @param valueInterface handler element (SeviceRefHandler object)
130          * @return index of the removed handler
131          */

132     public int removeHandler(org.netbeans.api.web.dd.ServiceRefHandler valueInterface);
133
134 }
135
Popular Tags