1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:26 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | WebsphereDeploymentTool (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="WebsphereDeploymentTool (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WeblogicTOPLinkDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.DBVendor.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="WebsphereDeploymentTool.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs.optional.ejb</FONT>
|
---|
85 | <BR>
|
---|
86 | Class WebsphereDeploymentTool</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool</A>
|
---|
90 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool</B>
|
---|
91 | </PRE>
|
---|
92 | <DL>
|
---|
93 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.ejb">EJBDeploymentTool</A></DD>
|
---|
94 | </DL>
|
---|
95 | <HR>
|
---|
96 | <DL>
|
---|
97 | <DT>public class <B>WebsphereDeploymentTool</B><DT>extends <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></DL>
|
---|
98 |
|
---|
99 | <P>
|
---|
100 | Websphere deployment tool that augments the ejbjar task.
|
---|
101 | Searches for the websphere specific deployment descriptors and
|
---|
102 | adds them to the final ejb jar file. Websphere has two specific descriptors for session
|
---|
103 | beans:
|
---|
104 | <ul>
|
---|
105 | <li>ibm-ejb-jar-bnd.xmi</li>
|
---|
106 | <li>ibm-ejb-jar-ext.xmi</li>
|
---|
107 | </ul>
|
---|
108 | and another two for container managed entity beans:
|
---|
109 | <ul>
|
---|
110 | <li>Map.mapxmi</li>
|
---|
111 | <li>Schema.dbxmi</li>
|
---|
112 | </ul>
|
---|
113 | In terms of WebSphere, the generation of container code and stubs is
|
---|
114 | called <code>deployment</code>. This step can be performed by the websphere
|
---|
115 | element as part of the jar generation process. If the switch
|
---|
116 | <code>ejbdeploy</code> is on, the ejbdeploy tool from the websphere toolset
|
---|
117 | is called for every ejb-jar. Unfortunately, this step only works, if you
|
---|
118 | use the ibm jdk. Otherwise, the rmic (called by ejbdeploy) throws a
|
---|
119 | ClassFormatError. Be sure to switch ejbdeploy off, if run ant with
|
---|
120 | sun jdk.
|
---|
121 | <P>
|
---|
122 |
|
---|
123 | <P>
|
---|
124 | <HR>
|
---|
125 |
|
---|
126 | <P>
|
---|
127 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
128 |
|
---|
129 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
131 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
132 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
133 | <B>Nested Class Summary</B></FONT></TD>
|
---|
134 | </TR>
|
---|
135 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
136 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
137 | <CODE>static class</CODE></FONT></TD>
|
---|
138 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.DBVendor.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">WebsphereDeploymentTool.DBVendor</A></B></CODE>
|
---|
139 |
|
---|
140 | <BR>
|
---|
141 | Enumerated attribute with the values for the database vendor types</TD>
|
---|
142 | </TR>
|
---|
143 | </TABLE>
|
---|
144 |
|
---|
145 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
146 |
|
---|
147 | <A NAME="field_summary"><!-- --></A>
|
---|
148 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
149 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
150 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
151 | <B>Field Summary</B></FONT></TD>
|
---|
152 | </TR>
|
---|
153 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
154 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
155 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
156 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#PUBLICID_EJB11">PUBLICID_EJB11</A></B></CODE>
|
---|
157 |
|
---|
158 | <BR>
|
---|
159 | </TD>
|
---|
160 | </TR>
|
---|
161 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
162 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
163 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
164 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#PUBLICID_EJB20">PUBLICID_EJB20</A></B></CODE>
|
---|
165 |
|
---|
166 | <BR>
|
---|
167 | </TD>
|
---|
168 | </TR>
|
---|
169 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
170 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
171 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
172 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#SCHEMA_DIR">SCHEMA_DIR</A></B></CODE>
|
---|
173 |
|
---|
174 | <BR>
|
---|
175 | </TD>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
179 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
180 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_BND">WAS_BND</A></B></CODE>
|
---|
181 |
|
---|
182 | <BR>
|
---|
183 | </TD>
|
---|
184 | </TR>
|
---|
185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
186 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
187 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
188 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_CMP_MAP">WAS_CMP_MAP</A></B></CODE>
|
---|
189 |
|
---|
190 | <BR>
|
---|
191 | </TD>
|
---|
192 | </TR>
|
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
195 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
196 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_CMP_SCHEMA">WAS_CMP_SCHEMA</A></B></CODE>
|
---|
197 |
|
---|
198 | <BR>
|
---|
199 | </TD>
|
---|
200 | </TR>
|
---|
201 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
203 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
204 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_EXT">WAS_EXT</A></B></CODE>
|
---|
205 |
|
---|
206 | <BR>
|
---|
207 | </TD>
|
---|
208 | </TR>
|
---|
209 | </TABLE>
|
---|
210 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool"><!-- --></A>
|
---|
211 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
212 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
213 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.optional.ejb.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></B></TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#ANALYZER_CLASS_FULL">ANALYZER_CLASS_FULL</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#ANALYZER_CLASS_SUPER">ANALYZER_CLASS_SUPER</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#ANALYZER_FULL">ANALYZER_FULL</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#ANALYZER_NONE">ANALYZER_NONE</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#ANALYZER_SUPER">ANALYZER_SUPER</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#DEFAULT_ANALYZER">DEFAULT_ANALYZER</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#EJB_DD">EJB_DD</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#MANIFEST">MANIFEST</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#META_DIR">META_DIR</A></CODE></TD>
|
---|
217 | </TR>
|
---|
218 | </TABLE>
|
---|
219 |
|
---|
220 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
221 |
|
---|
222 | <A NAME="constructor_summary"><!-- --></A>
|
---|
223 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
224 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
225 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
226 | <B>Constructor Summary</B></FONT></TD>
|
---|
227 | </TR>
|
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
229 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WebsphereDeploymentTool()">WebsphereDeploymentTool</A></B>()</CODE>
|
---|
230 |
|
---|
231 | <BR>
|
---|
232 | </TD>
|
---|
233 | </TR>
|
---|
234 | </TABLE>
|
---|
235 |
|
---|
236 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
237 |
|
---|
238 | <A NAME="method_summary"><!-- --></A>
|
---|
239 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
240 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
241 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
242 | <B>Method Summary</B></FONT></TD>
|
---|
243 | </TR>
|
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
245 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
246 | <CODE>protected void</CODE></FONT></TD>
|
---|
247 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#addVendorFiles(java.util.Hashtable, java.lang.String)">addVendorFiles</A></B>(java.util.Hashtable ejbFiles,
|
---|
248 | java.lang.String baseName)</CODE>
|
---|
249 |
|
---|
250 | <BR>
|
---|
251 | Add any vendor specific files which should be included in the EJB Jar.</TD>
|
---|
252 | </TR>
|
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
255 | <CODE> <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
256 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#createWASClasspath()">createWASClasspath</A></B>()</CODE>
|
---|
257 |
|
---|
258 | <BR>
|
---|
259 | Get the classpath to the websphere classpaths</TD>
|
---|
260 | </TR>
|
---|
261 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
262 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
263 | <CODE>protected java.lang.ClassLoader</CODE></FONT></TD>
|
---|
264 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getClassLoaderFromJar(java.io.File)">getClassLoaderFromJar</A></B>(java.io.File classjar)</CODE>
|
---|
265 |
|
---|
266 | <BR>
|
---|
267 | Helper method invoked by isRebuildRequired to get a ClassLoader for a
|
---|
268 | Jar File passed to it.</TD>
|
---|
269 | </TR>
|
---|
270 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
272 | <CODE>protected <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</A></CODE></FONT></TD>
|
---|
273 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getDescriptorHandler(java.io.File)">getDescriptorHandler</A></B>(java.io.File srcDir)</CODE>
|
---|
274 |
|
---|
275 | <BR>
|
---|
276 | </TD>
|
---|
277 | </TR>
|
---|
278 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
279 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
280 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
281 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getOptions()">getOptions</A></B>()</CODE>
|
---|
282 |
|
---|
283 | <BR>
|
---|
284 | Gets the options for the EJB Deploy operation</TD>
|
---|
285 | </TR>
|
---|
286 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
287 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
288 | <CODE>protected <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</A></CODE></FONT></TD>
|
---|
289 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getWebsphereDescriptorHandler(java.io.File)">getWebsphereDescriptorHandler</A></B>(java.io.File srcDir)</CODE>
|
---|
290 |
|
---|
291 | <BR>
|
---|
292 | </TD>
|
---|
293 | </TR>
|
---|
294 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
295 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
296 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
297 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#isRebuildRequired(java.io.File, java.io.File)">isRebuildRequired</A></B>(java.io.File genericJarFile,
|
---|
298 | java.io.File websphereJarFile)</CODE>
|
---|
299 |
|
---|
300 | <BR>
|
---|
301 | Helper method to check to see if a websphere EBJ1.1 jar needs to be
|
---|
302 | rebuilt using ejbdeploy.</TD>
|
---|
303 | </TR>
|
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
306 | <CODE> void</CODE></FONT></TD>
|
---|
307 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setCodegen(boolean)">setCodegen</A></B>(boolean codegen)</CODE>
|
---|
308 |
|
---|
309 | <BR>
|
---|
310 | Flag, default false, to only generate the deployment
|
---|
311 | code, do not run RMIC or Javac</TD>
|
---|
312 | </TR>
|
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
315 | <CODE> void</CODE></FONT></TD>
|
---|
316 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbname(java.lang.String)">setDbname</A></B>(java.lang.String dbName)</CODE>
|
---|
317 |
|
---|
318 | <BR>
|
---|
319 | Sets the name of the Database to create; optional.</TD>
|
---|
320 | </TR>
|
---|
321 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
322 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
323 | <CODE> void</CODE></FONT></TD>
|
---|
324 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbschema(java.lang.String)">setDbschema</A></B>(java.lang.String dbSchema)</CODE>
|
---|
325 |
|
---|
326 | <BR>
|
---|
327 | Sets the name of the schema to create; optional.</TD>
|
---|
328 | </TR>
|
---|
329 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
330 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
331 | <CODE> void</CODE></FONT></TD>
|
---|
332 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbvendor(org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.DBVendor)">setDbvendor</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.DBVendor.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">WebsphereDeploymentTool.DBVendor</A> dbvendor)</CODE>
|
---|
333 |
|
---|
334 | <BR>
|
---|
335 | Sets the DB Vendor for the Entity Bean mapping ; optional.</TD>
|
---|
336 | </TR>
|
---|
337 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
338 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
339 | <CODE> void</CODE></FONT></TD>
|
---|
340 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setEjbdeploy(boolean)">setEjbdeploy</A></B>(boolean ejbdeploy)</CODE>
|
---|
341 |
|
---|
342 | <BR>
|
---|
343 | Decide, wether ejbdeploy should be called or not;
|
---|
344 | optional, default true.</TD>
|
---|
345 | </TR>
|
---|
346 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
347 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
348 | <CODE> void</CODE></FONT></TD>
|
---|
349 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setEJBdtd(java.lang.String)">setEJBdtd</A></B>(java.lang.String inString)</CODE>
|
---|
350 |
|
---|
351 | <BR>
|
---|
352 | Setter used to store the location of the Sun's Generic EJB DTD.</TD>
|
---|
353 | </TR>
|
---|
354 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
355 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
356 | <CODE> void</CODE></FONT></TD>
|
---|
357 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setKeepgeneric(boolean)">setKeepgeneric</A></B>(boolean inValue)</CODE>
|
---|
358 |
|
---|
359 | <BR>
|
---|
360 | This controls whether the generic file used as input to
|
---|
361 | ejbdeploy is retained; optional, default false.</TD>
|
---|
362 | </TR>
|
---|
363 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
364 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
365 | <CODE> void</CODE></FONT></TD>
|
---|
366 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNewCMP(boolean)">setNewCMP</A></B>(boolean newCMP)</CODE>
|
---|
367 |
|
---|
368 | <BR>
|
---|
369 | Set the value of the newCMP scheme.</TD>
|
---|
370 | </TR>
|
---|
371 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
372 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
373 | <CODE> void</CODE></FONT></TD>
|
---|
374 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNoinform(boolean)">setNoinform</A></B>(boolean noinform)</CODE>
|
---|
375 |
|
---|
376 | <BR>
|
---|
377 | Flag to disable informational messages; optional, default false.</TD>
|
---|
378 | </TR>
|
---|
379 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
380 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
381 | <CODE> void</CODE></FONT></TD>
|
---|
382 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNovalidate(boolean)">setNovalidate</A></B>(boolean novalidate)</CODE>
|
---|
383 |
|
---|
384 | <BR>
|
---|
385 | Flag to disable the validation steps; optional, default false.</TD>
|
---|
386 | </TR>
|
---|
387 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
388 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
389 | <CODE> void</CODE></FONT></TD>
|
---|
390 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNowarn(boolean)">setNowarn</A></B>(boolean nowarn)</CODE>
|
---|
391 |
|
---|
392 | <BR>
|
---|
393 | Flag to disable warning and informational messages; optional, default false.</TD>
|
---|
394 | </TR>
|
---|
395 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
396 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
397 | <CODE> void</CODE></FONT></TD>
|
---|
398 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setOldCMP(boolean)">setOldCMP</A></B>(boolean oldCMP)</CODE>
|
---|
399 |
|
---|
400 | <BR>
|
---|
401 | Set the value of the oldCMP scheme.</TD>
|
---|
402 | </TR>
|
---|
403 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
404 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
405 | <CODE> void</CODE></FONT></TD>
|
---|
406 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setQuiet(boolean)">setQuiet</A></B>(boolean quiet)</CODE>
|
---|
407 |
|
---|
408 | <BR>
|
---|
409 | Flag, default true, to only output error messages.</TD>
|
---|
410 | </TR>
|
---|
411 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
412 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
413 | <CODE> void</CODE></FONT></TD>
|
---|
414 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setRebuild(boolean)">setRebuild</A></B>(boolean rebuild)</CODE>
|
---|
415 |
|
---|
416 | <BR>
|
---|
417 | Set the rebuild flag to false to only update changes in the jar rather
|
---|
418 | than rerunning ejbdeploy; optional, default true.</TD>
|
---|
419 | </TR>
|
---|
420 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
421 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
422 | <CODE> void</CODE></FONT></TD>
|
---|
423 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setRmicoptions(java.lang.String)">setRmicoptions</A></B>(java.lang.String options)</CODE>
|
---|
424 |
|
---|
425 | <BR>
|
---|
426 | Set the rmic options.</TD>
|
---|
427 | </TR>
|
---|
428 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
429 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
430 | <CODE> void</CODE></FONT></TD>
|
---|
431 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setSuffix(java.lang.String)">setSuffix</A></B>(java.lang.String inString)</CODE>
|
---|
432 |
|
---|
433 | <BR>
|
---|
434 | String value appended to the basename of the deployment
|
---|
435 | descriptor to create the filename of the WebLogic EJB
|
---|
436 | jar file.</TD>
|
---|
437 | </TR>
|
---|
438 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
439 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
440 | <CODE> void</CODE></FONT></TD>
|
---|
441 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setTempdir(java.lang.String)">setTempdir</A></B>(java.lang.String tempdir)</CODE>
|
---|
442 |
|
---|
443 | <BR>
|
---|
444 | The directory, where ejbdeploy will write temporary files;
|
---|
445 | optional, defaults to '_ejbdeploy_temp'.</TD>
|
---|
446 | </TR>
|
---|
447 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
448 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
449 | <CODE> void</CODE></FONT></TD>
|
---|
450 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setTrace(boolean)">setTrace</A></B>(boolean trace)</CODE>
|
---|
451 |
|
---|
452 | <BR>
|
---|
453 | Flag to enable internal tracing when set, optional, default false.</TD>
|
---|
454 | </TR>
|
---|
455 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
456 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
457 | <CODE> void</CODE></FONT></TD>
|
---|
458 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setUse35(boolean)">setUse35</A></B>(boolean attr)</CODE>
|
---|
459 |
|
---|
460 | <BR>
|
---|
461 | Flag to use the WebSphere 3.5 compatible mapping rules ; optional, default false.</TD>
|
---|
462 | </TR>
|
---|
463 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
464 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
465 | <CODE> void</CODE></FONT></TD>
|
---|
466 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setWASClasspath(org.apache.tools.ant.types.Path)">setWASClasspath</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> wasClasspath)</CODE>
|
---|
467 |
|
---|
468 | <BR>
|
---|
469 | </TD>
|
---|
470 | </TR>
|
---|
471 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
472 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
473 | <CODE> void</CODE></FONT></TD>
|
---|
474 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#validateConfigured()">validateConfigured</A></B>()</CODE>
|
---|
475 |
|
---|
476 | <BR>
|
---|
477 | Called to validate that the tool parameters have been configured.</TD>
|
---|
478 | </TR>
|
---|
479 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
480 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
481 | <CODE>protected void</CODE></FONT></TD>
|
---|
482 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#writeJar(java.lang.String, java.io.File, java.util.Hashtable, java.lang.String)">writeJar</A></B>(java.lang.String baseName,
|
---|
483 | java.io.File jarFile,
|
---|
484 | java.util.Hashtable files,
|
---|
485 | java.lang.String publicId)</CODE>
|
---|
486 |
|
---|
487 | <BR>
|
---|
488 | Method used to encapsulate the writing of the JAR file.</TD>
|
---|
489 | </TR>
|
---|
490 | </TABLE>
|
---|
491 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool"><!-- --></A>
|
---|
492 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
493 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
494 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.optional.ejb.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></B></TD>
|
---|
495 | </TR>
|
---|
496 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
497 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#addFileToJar(java.util.jar.JarOutputStream, java.io.File, java.lang.String)">addFileToJar</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#addSupportClasses(java.util.Hashtable)">addSupportClasses</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#checkAndAddDependants(java.util.Hashtable)">checkAndAddDependants</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#checkConfiguration(java.lang.String, javax.xml.parsers.SAXParser)">checkConfiguration</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#configure(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.Config)">configure</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#createClasspath()">createClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getClassLoaderForBuild()">getClassLoaderForBuild</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getCombinedClasspath()">getCombinedClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getConfig()">getConfig</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getDestDir()">getDestDir</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getJarBaseName(java.lang.String)">getJarBaseName</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getLocation()">getLocation</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getManifestFile(java.lang.String)">getManifestFile</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getPublicId()">getPublicId</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getTask()">getTask</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getVendorDDPrefix(java.lang.String, java.lang.String)">getVendorDDPrefix</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#needToRebuild(java.util.Hashtable, java.io.File)">needToRebuild</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#parseEjbFiles(java.lang.String, javax.xml.parsers.SAXParser)">parseEjbFiles</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#processDescriptor(java.lang.String, javax.xml.parsers.SAXParser)">processDescriptor</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#registerKnownDTDs(org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler)">registerKnownDTDs</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#setDestdir(java.io.File)">setDestdir</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#setGenericJarSuffix(java.lang.String)">setGenericJarSuffix</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#setTask(org.apache.tools.ant.Task)">setTask</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#usingBaseJarName()">usingBaseJarName</A></CODE></TD>
|
---|
498 | </TR>
|
---|
499 | </TABLE>
|
---|
500 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
501 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
502 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
503 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
504 | </TR>
|
---|
505 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
506 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
507 | </TR>
|
---|
508 | </TABLE>
|
---|
509 |
|
---|
510 | <P>
|
---|
511 |
|
---|
512 | <!-- ============ FIELD DETAIL =========== -->
|
---|
513 |
|
---|
514 | <A NAME="field_detail"><!-- --></A>
|
---|
515 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
516 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
517 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
518 | <B>Field Detail</B></FONT></TD>
|
---|
519 | </TR>
|
---|
520 | </TABLE>
|
---|
521 |
|
---|
522 | <A NAME="PUBLICID_EJB11"><!-- --></A><H3>
|
---|
523 | PUBLICID_EJB11</H3>
|
---|
524 | <PRE>
|
---|
525 | public static final java.lang.String <B>PUBLICID_EJB11</B></PRE>
|
---|
526 | <DL>
|
---|
527 | <DL>
|
---|
528 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.PUBLICID_EJB11">Constant Field Values</A></DL>
|
---|
529 | </DL>
|
---|
530 | <HR>
|
---|
531 |
|
---|
532 | <A NAME="PUBLICID_EJB20"><!-- --></A><H3>
|
---|
533 | PUBLICID_EJB20</H3>
|
---|
534 | <PRE>
|
---|
535 | public static final java.lang.String <B>PUBLICID_EJB20</B></PRE>
|
---|
536 | <DL>
|
---|
537 | <DL>
|
---|
538 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.PUBLICID_EJB20">Constant Field Values</A></DL>
|
---|
539 | </DL>
|
---|
540 | <HR>
|
---|
541 |
|
---|
542 | <A NAME="SCHEMA_DIR"><!-- --></A><H3>
|
---|
543 | SCHEMA_DIR</H3>
|
---|
544 | <PRE>
|
---|
545 | protected static final java.lang.String <B>SCHEMA_DIR</B></PRE>
|
---|
546 | <DL>
|
---|
547 | <DL>
|
---|
548 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.SCHEMA_DIR">Constant Field Values</A></DL>
|
---|
549 | </DL>
|
---|
550 | <HR>
|
---|
551 |
|
---|
552 | <A NAME="WAS_EXT"><!-- --></A><H3>
|
---|
553 | WAS_EXT</H3>
|
---|
554 | <PRE>
|
---|
555 | protected static final java.lang.String <B>WAS_EXT</B></PRE>
|
---|
556 | <DL>
|
---|
557 | <DL>
|
---|
558 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_EXT">Constant Field Values</A></DL>
|
---|
559 | </DL>
|
---|
560 | <HR>
|
---|
561 |
|
---|
562 | <A NAME="WAS_BND"><!-- --></A><H3>
|
---|
563 | WAS_BND</H3>
|
---|
564 | <PRE>
|
---|
565 | protected static final java.lang.String <B>WAS_BND</B></PRE>
|
---|
566 | <DL>
|
---|
567 | <DL>
|
---|
568 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_BND">Constant Field Values</A></DL>
|
---|
569 | </DL>
|
---|
570 | <HR>
|
---|
571 |
|
---|
572 | <A NAME="WAS_CMP_MAP"><!-- --></A><H3>
|
---|
573 | WAS_CMP_MAP</H3>
|
---|
574 | <PRE>
|
---|
575 | protected static final java.lang.String <B>WAS_CMP_MAP</B></PRE>
|
---|
576 | <DL>
|
---|
577 | <DL>
|
---|
578 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_CMP_MAP">Constant Field Values</A></DL>
|
---|
579 | </DL>
|
---|
580 | <HR>
|
---|
581 |
|
---|
582 | <A NAME="WAS_CMP_SCHEMA"><!-- --></A><H3>
|
---|
583 | WAS_CMP_SCHEMA</H3>
|
---|
584 | <PRE>
|
---|
585 | protected static final java.lang.String <B>WAS_CMP_SCHEMA</B></PRE>
|
---|
586 | <DL>
|
---|
587 | <DL>
|
---|
588 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_CMP_SCHEMA">Constant Field Values</A></DL>
|
---|
589 | </DL>
|
---|
590 |
|
---|
591 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
592 |
|
---|
593 | <A NAME="constructor_detail"><!-- --></A>
|
---|
594 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
595 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
596 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
597 | <B>Constructor Detail</B></FONT></TD>
|
---|
598 | </TR>
|
---|
599 | </TABLE>
|
---|
600 |
|
---|
601 | <A NAME="WebsphereDeploymentTool()"><!-- --></A><H3>
|
---|
602 | WebsphereDeploymentTool</H3>
|
---|
603 | <PRE>
|
---|
604 | public <B>WebsphereDeploymentTool</B>()</PRE>
|
---|
605 | <DL>
|
---|
606 | </DL>
|
---|
607 |
|
---|
608 | <!-- ============ METHOD DETAIL ========== -->
|
---|
609 |
|
---|
610 | <A NAME="method_detail"><!-- --></A>
|
---|
611 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
612 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
613 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
614 | <B>Method Detail</B></FONT></TD>
|
---|
615 | </TR>
|
---|
616 | </TABLE>
|
---|
617 |
|
---|
618 | <A NAME="createWASClasspath()"><!-- --></A><H3>
|
---|
619 | createWASClasspath</H3>
|
---|
620 | <PRE>
|
---|
621 | public <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createWASClasspath</B>()</PRE>
|
---|
622 | <DL>
|
---|
623 | <DD>Get the classpath to the websphere classpaths
|
---|
624 | <P>
|
---|
625 | <DD><DL>
|
---|
626 | </DL>
|
---|
627 | </DD>
|
---|
628 | </DL>
|
---|
629 | <HR>
|
---|
630 |
|
---|
631 | <A NAME="setWASClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
632 | setWASClasspath</H3>
|
---|
633 | <PRE>
|
---|
634 | public void <B>setWASClasspath</B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> wasClasspath)</PRE>
|
---|
635 | <DL>
|
---|
636 | <DD><DL>
|
---|
637 | </DL>
|
---|
638 | </DD>
|
---|
639 | </DL>
|
---|
640 | <HR>
|
---|
641 |
|
---|
642 | <A NAME="setDbvendor(org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.DBVendor)"><!-- --></A><H3>
|
---|
643 | setDbvendor</H3>
|
---|
644 | <PRE>
|
---|
645 | public void <B>setDbvendor</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.DBVendor.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">WebsphereDeploymentTool.DBVendor</A> dbvendor)</PRE>
|
---|
646 | <DL>
|
---|
647 | <DD>Sets the DB Vendor for the Entity Bean mapping ; optional.
|
---|
648 | Valid options are for example:
|
---|
649 | <ul>
|
---|
650 | <li>SQL92</li> <li>SQL99</li> <li>DB2UDBWIN_V71</li>
|
---|
651 | <li>DB2UDBOS390_V6</li> <li>DB2UDBAS400_V4R5</li> <li>ORACLE_V8</li>
|
---|
652 | <li>INFORMIX_V92</li> <li>SYBASE_V1192</li> <li>MYSQL_V323</li>
|
---|
653 | </ul>
|
---|
654 | This is also used to determine the name of the Map.mapxmi and
|
---|
655 | Schema.dbxmi files, for example Account-DB2UDBWIN_V71-Map.mapxmi
|
---|
656 | and Account-DB2UDBWIN_V71-Schema.dbxmi.
|
---|
657 | <P>
|
---|
658 | <DD><DL>
|
---|
659 | </DL>
|
---|
660 | </DD>
|
---|
661 | </DL>
|
---|
662 | <HR>
|
---|
663 |
|
---|
664 | <A NAME="setDbname(java.lang.String)"><!-- --></A><H3>
|
---|
665 | setDbname</H3>
|
---|
666 | <PRE>
|
---|
667 | public void <B>setDbname</B>(java.lang.String dbName)</PRE>
|
---|
668 | <DL>
|
---|
669 | <DD>Sets the name of the Database to create; optional.
|
---|
670 | <P>
|
---|
671 | <DD><DL>
|
---|
672 | <DT><B>Parameters:</B><DD><CODE>dbName</CODE> - name of the database</DL>
|
---|
673 | </DD>
|
---|
674 | </DL>
|
---|
675 | <HR>
|
---|
676 |
|
---|
677 | <A NAME="setDbschema(java.lang.String)"><!-- --></A><H3>
|
---|
678 | setDbschema</H3>
|
---|
679 | <PRE>
|
---|
680 | public void <B>setDbschema</B>(java.lang.String dbSchema)</PRE>
|
---|
681 | <DL>
|
---|
682 | <DD>Sets the name of the schema to create; optional.
|
---|
683 | <P>
|
---|
684 | <DD><DL>
|
---|
685 | <DT><B>Parameters:</B><DD><CODE>dbSchema</CODE> - name of the schema</DL>
|
---|
686 | </DD>
|
---|
687 | </DL>
|
---|
688 | <HR>
|
---|
689 |
|
---|
690 | <A NAME="setCodegen(boolean)"><!-- --></A><H3>
|
---|
691 | setCodegen</H3>
|
---|
692 | <PRE>
|
---|
693 | public void <B>setCodegen</B>(boolean codegen)</PRE>
|
---|
694 | <DL>
|
---|
695 | <DD>Flag, default false, to only generate the deployment
|
---|
696 | code, do not run RMIC or Javac
|
---|
697 | <P>
|
---|
698 | <DD><DL>
|
---|
699 | <DT><B>Parameters:</B><DD><CODE>codegen</CODE> - option</DL>
|
---|
700 | </DD>
|
---|
701 | </DL>
|
---|
702 | <HR>
|
---|
703 |
|
---|
704 | <A NAME="setQuiet(boolean)"><!-- --></A><H3>
|
---|
705 | setQuiet</H3>
|
---|
706 | <PRE>
|
---|
707 | public void <B>setQuiet</B>(boolean quiet)</PRE>
|
---|
708 | <DL>
|
---|
709 | <DD>Flag, default true, to only output error messages.
|
---|
710 | <P>
|
---|
711 | <DD><DL>
|
---|
712 | <DT><B>Parameters:</B><DD><CODE>quiet</CODE> - option</DL>
|
---|
713 | </DD>
|
---|
714 | </DL>
|
---|
715 | <HR>
|
---|
716 |
|
---|
717 | <A NAME="setNovalidate(boolean)"><!-- --></A><H3>
|
---|
718 | setNovalidate</H3>
|
---|
719 | <PRE>
|
---|
720 | public void <B>setNovalidate</B>(boolean novalidate)</PRE>
|
---|
721 | <DL>
|
---|
722 | <DD>Flag to disable the validation steps; optional, default false.
|
---|
723 | <P>
|
---|
724 | <DD><DL>
|
---|
725 | <DT><B>Parameters:</B><DD><CODE>novalidate</CODE> - option</DL>
|
---|
726 | </DD>
|
---|
727 | </DL>
|
---|
728 | <HR>
|
---|
729 |
|
---|
730 | <A NAME="setNowarn(boolean)"><!-- --></A><H3>
|
---|
731 | setNowarn</H3>
|
---|
732 | <PRE>
|
---|
733 | public void <B>setNowarn</B>(boolean nowarn)</PRE>
|
---|
734 | <DL>
|
---|
735 | <DD>Flag to disable warning and informational messages; optional, default false.
|
---|
736 | <P>
|
---|
737 | <DD><DL>
|
---|
738 | <DT><B>Parameters:</B><DD><CODE>nowarn</CODE> - option</DL>
|
---|
739 | </DD>
|
---|
740 | </DL>
|
---|
741 | <HR>
|
---|
742 |
|
---|
743 | <A NAME="setNoinform(boolean)"><!-- --></A><H3>
|
---|
744 | setNoinform</H3>
|
---|
745 | <PRE>
|
---|
746 | public void <B>setNoinform</B>(boolean noinform)</PRE>
|
---|
747 | <DL>
|
---|
748 | <DD>Flag to disable informational messages; optional, default false.
|
---|
749 | <P>
|
---|
750 | <DD><DL>
|
---|
751 | <DT><B>Parameters:</B><DD><CODE>noinform</CODE> - if true disables informational messages</DL>
|
---|
752 | </DD>
|
---|
753 | </DL>
|
---|
754 | <HR>
|
---|
755 |
|
---|
756 | <A NAME="setTrace(boolean)"><!-- --></A><H3>
|
---|
757 | setTrace</H3>
|
---|
758 | <PRE>
|
---|
759 | public void <B>setTrace</B>(boolean trace)</PRE>
|
---|
760 | <DL>
|
---|
761 | <DD>Flag to enable internal tracing when set, optional, default false.
|
---|
762 | <P>
|
---|
763 | <DD><DL>
|
---|
764 | <DT><B>Parameters:</B><DD><CODE>trace</CODE> - </DL>
|
---|
765 | </DD>
|
---|
766 | </DL>
|
---|
767 | <HR>
|
---|
768 |
|
---|
769 | <A NAME="setRmicoptions(java.lang.String)"><!-- --></A><H3>
|
---|
770 | setRmicoptions</H3>
|
---|
771 | <PRE>
|
---|
772 | public void <B>setRmicoptions</B>(java.lang.String options)</PRE>
|
---|
773 | <DL>
|
---|
774 | <DD>Set the rmic options.
|
---|
775 | <P>
|
---|
776 | <DD><DL>
|
---|
777 | <DT><B>Parameters:</B><DD><CODE>options</CODE> - </DL>
|
---|
778 | </DD>
|
---|
779 | </DL>
|
---|
780 | <HR>
|
---|
781 |
|
---|
782 | <A NAME="setUse35(boolean)"><!-- --></A><H3>
|
---|
783 | setUse35</H3>
|
---|
784 | <PRE>
|
---|
785 | public void <B>setUse35</B>(boolean attr)</PRE>
|
---|
786 | <DL>
|
---|
787 | <DD>Flag to use the WebSphere 3.5 compatible mapping rules ; optional, default false.
|
---|
788 | <P>
|
---|
789 | <DD><DL>
|
---|
790 | <DT><B>Parameters:</B><DD><CODE>attr</CODE> - </DL>
|
---|
791 | </DD>
|
---|
792 | </DL>
|
---|
793 | <HR>
|
---|
794 |
|
---|
795 | <A NAME="setRebuild(boolean)"><!-- --></A><H3>
|
---|
796 | setRebuild</H3>
|
---|
797 | <PRE>
|
---|
798 | public void <B>setRebuild</B>(boolean rebuild)</PRE>
|
---|
799 | <DL>
|
---|
800 | <DD>Set the rebuild flag to false to only update changes in the jar rather
|
---|
801 | than rerunning ejbdeploy; optional, default true.
|
---|
802 | <P>
|
---|
803 | <DD><DL>
|
---|
804 | </DL>
|
---|
805 | </DD>
|
---|
806 | </DL>
|
---|
807 | <HR>
|
---|
808 |
|
---|
809 | <A NAME="setSuffix(java.lang.String)"><!-- --></A><H3>
|
---|
810 | setSuffix</H3>
|
---|
811 | <PRE>
|
---|
812 | public void <B>setSuffix</B>(java.lang.String inString)</PRE>
|
---|
813 | <DL>
|
---|
814 | <DD>String value appended to the basename of the deployment
|
---|
815 | descriptor to create the filename of the WebLogic EJB
|
---|
816 | jar file. Optional, default '.jar'.
|
---|
817 | <P>
|
---|
818 | <DD><DL>
|
---|
819 | <DT><B>Parameters:</B><DD><CODE>inString</CODE> - the string to use as the suffix.</DL>
|
---|
820 | </DD>
|
---|
821 | </DL>
|
---|
822 | <HR>
|
---|
823 |
|
---|
824 | <A NAME="setKeepgeneric(boolean)"><!-- --></A><H3>
|
---|
825 | setKeepgeneric</H3>
|
---|
826 | <PRE>
|
---|
827 | public void <B>setKeepgeneric</B>(boolean inValue)</PRE>
|
---|
828 | <DL>
|
---|
829 | <DD>This controls whether the generic file used as input to
|
---|
830 | ejbdeploy is retained; optional, default false.
|
---|
831 | <P>
|
---|
832 | <DD><DL>
|
---|
833 | <DT><B>Parameters:</B><DD><CODE>inValue</CODE> - either 'true' or 'false'.</DL>
|
---|
834 | </DD>
|
---|
835 | </DL>
|
---|
836 | <HR>
|
---|
837 |
|
---|
838 | <A NAME="setEjbdeploy(boolean)"><!-- --></A><H3>
|
---|
839 | setEjbdeploy</H3>
|
---|
840 | <PRE>
|
---|
841 | public void <B>setEjbdeploy</B>(boolean ejbdeploy)</PRE>
|
---|
842 | <DL>
|
---|
843 | <DD>Decide, wether ejbdeploy should be called or not;
|
---|
844 | optional, default true.
|
---|
845 | <P>
|
---|
846 | <DD><DL>
|
---|
847 | <DT><B>Parameters:</B><DD><CODE>ejbdeploy</CODE> - </DL>
|
---|
848 | </DD>
|
---|
849 | </DL>
|
---|
850 | <HR>
|
---|
851 |
|
---|
852 | <A NAME="setEJBdtd(java.lang.String)"><!-- --></A><H3>
|
---|
853 | setEJBdtd</H3>
|
---|
854 | <PRE>
|
---|
855 | public void <B>setEJBdtd</B>(java.lang.String inString)</PRE>
|
---|
856 | <DL>
|
---|
857 | <DD>Setter used to store the location of the Sun's Generic EJB DTD. This
|
---|
858 | can be a file on the system or a resource on the classpath.
|
---|
859 | <P>
|
---|
860 | <DD><DL>
|
---|
861 | <DT><B>Parameters:</B><DD><CODE>inString</CODE> - the string to use as the DTD location.</DL>
|
---|
862 | </DD>
|
---|
863 | </DL>
|
---|
864 | <HR>
|
---|
865 |
|
---|
866 | <A NAME="setOldCMP(boolean)"><!-- --></A><H3>
|
---|
867 | setOldCMP</H3>
|
---|
868 | <PRE>
|
---|
869 | public void <B>setOldCMP</B>(boolean oldCMP)</PRE>
|
---|
870 | <DL>
|
---|
871 | <DD>Set the value of the oldCMP scheme. This is an antonym for newCMP
|
---|
872 | <P>
|
---|
873 | <DD><DL>
|
---|
874 | </DL>
|
---|
875 | </DD>
|
---|
876 | </DL>
|
---|
877 | <HR>
|
---|
878 |
|
---|
879 | <A NAME="setNewCMP(boolean)"><!-- --></A><H3>
|
---|
880 | setNewCMP</H3>
|
---|
881 | <PRE>
|
---|
882 | public void <B>setNewCMP</B>(boolean newCMP)</PRE>
|
---|
883 | <DL>
|
---|
884 | <DD>Set the value of the newCMP scheme. The old CMP scheme locates the
|
---|
885 | websphere CMP descriptor based on the naming convention where the
|
---|
886 | websphere CMP file is expected to be named with the bean name as the
|
---|
887 | prefix. Under this scheme the name of the CMP descriptor does not match
|
---|
888 | the name actually used in the main websphere EJB descriptor. Also,
|
---|
889 | descriptors which contain multiple CMP references could not be used.
|
---|
890 | <P>
|
---|
891 | <DD><DL>
|
---|
892 | </DL>
|
---|
893 | </DD>
|
---|
894 | </DL>
|
---|
895 | <HR>
|
---|
896 |
|
---|
897 | <A NAME="setTempdir(java.lang.String)"><!-- --></A><H3>
|
---|
898 | setTempdir</H3>
|
---|
899 | <PRE>
|
---|
900 | public void <B>setTempdir</B>(java.lang.String tempdir)</PRE>
|
---|
901 | <DL>
|
---|
902 | <DD>The directory, where ejbdeploy will write temporary files;
|
---|
903 | optional, defaults to '_ejbdeploy_temp'.
|
---|
904 | <P>
|
---|
905 | <DD><DL>
|
---|
906 | </DL>
|
---|
907 | </DD>
|
---|
908 | </DL>
|
---|
909 | <HR>
|
---|
910 |
|
---|
911 | <A NAME="getDescriptorHandler(java.io.File)"><!-- --></A><H3>
|
---|
912 | getDescriptorHandler</H3>
|
---|
913 | <PRE>
|
---|
914 | protected <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</A> <B>getDescriptorHandler</B>(java.io.File srcDir)</PRE>
|
---|
915 | <DL>
|
---|
916 | <DD><DL>
|
---|
917 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#getDescriptorHandler(java.io.File)">getDescriptorHandler</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></CODE></DL>
|
---|
918 | </DD>
|
---|
919 | <DD><DL>
|
---|
920 | </DL>
|
---|
921 | </DD>
|
---|
922 | </DL>
|
---|
923 | <HR>
|
---|
924 |
|
---|
925 | <A NAME="getWebsphereDescriptorHandler(java.io.File)"><!-- --></A><H3>
|
---|
926 | getWebsphereDescriptorHandler</H3>
|
---|
927 | <PRE>
|
---|
928 | protected <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</A> <B>getWebsphereDescriptorHandler</B>(java.io.File srcDir)</PRE>
|
---|
929 | <DL>
|
---|
930 | <DD><DL>
|
---|
931 | </DL>
|
---|
932 | </DD>
|
---|
933 | </DL>
|
---|
934 | <HR>
|
---|
935 |
|
---|
936 | <A NAME="addVendorFiles(java.util.Hashtable, java.lang.String)"><!-- --></A><H3>
|
---|
937 | addVendorFiles</H3>
|
---|
938 | <PRE>
|
---|
939 | protected void <B>addVendorFiles</B>(java.util.Hashtable ejbFiles,
|
---|
940 | java.lang.String baseName)</PRE>
|
---|
941 | <DL>
|
---|
942 | <DD>Add any vendor specific files which should be included in the EJB Jar.
|
---|
943 | <P>
|
---|
944 | <DD><DL>
|
---|
945 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#addVendorFiles(java.util.Hashtable, java.lang.String)">addVendorFiles</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></CODE></DL>
|
---|
946 | </DD>
|
---|
947 | <DD><DL>
|
---|
948 | </DL>
|
---|
949 | </DD>
|
---|
950 | </DL>
|
---|
951 | <HR>
|
---|
952 |
|
---|
953 | <A NAME="getOptions()"><!-- --></A><H3>
|
---|
954 | getOptions</H3>
|
---|
955 | <PRE>
|
---|
956 | protected java.lang.String <B>getOptions</B>()</PRE>
|
---|
957 | <DL>
|
---|
958 | <DD>Gets the options for the EJB Deploy operation
|
---|
959 | <P>
|
---|
960 | <DD><DL>
|
---|
961 |
|
---|
962 | <DT><B>Returns:</B><DD>String</DL>
|
---|
963 | </DD>
|
---|
964 | </DL>
|
---|
965 | <HR>
|
---|
966 |
|
---|
967 | <A NAME="writeJar(java.lang.String, java.io.File, java.util.Hashtable, java.lang.String)"><!-- --></A><H3>
|
---|
968 | writeJar</H3>
|
---|
969 | <PRE>
|
---|
970 | protected void <B>writeJar</B>(java.lang.String baseName,
|
---|
971 | java.io.File jarFile,
|
---|
972 | java.util.Hashtable files,
|
---|
973 | java.lang.String publicId)
|
---|
974 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
975 | <DL>
|
---|
976 | <DD>Method used to encapsulate the writing of the JAR file. Iterates over
|
---|
977 | the filenames/java.io.Files in the Hashtable stored on the instance
|
---|
978 | variable ejbFiles.
|
---|
979 | <P>
|
---|
980 | <DD><DL>
|
---|
981 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#writeJar(java.lang.String, java.io.File, java.util.Hashtable, java.lang.String)">writeJar</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></CODE></DL>
|
---|
982 | </DD>
|
---|
983 | <DD><DL>
|
---|
984 |
|
---|
985 | <DT><B>Throws:</B>
|
---|
986 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
987 | </DD>
|
---|
988 | </DL>
|
---|
989 | <HR>
|
---|
990 |
|
---|
991 | <A NAME="validateConfigured()"><!-- --></A><H3>
|
---|
992 | validateConfigured</H3>
|
---|
993 | <PRE>
|
---|
994 | public void <B>validateConfigured</B>()
|
---|
995 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
996 | <DL>
|
---|
997 | <DD>Called to validate that the tool parameters have been configured.
|
---|
998 | <P>
|
---|
999 | <DD><DL>
|
---|
1000 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.html#validateConfigured()">validateConfigured</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.ejb">EJBDeploymentTool</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html#validateConfigured()">validateConfigured</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</A></CODE></DL>
|
---|
1001 | </DD>
|
---|
1002 | <DD><DL>
|
---|
1003 |
|
---|
1004 | <DT><B>Throws:</B>
|
---|
1005 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - If the Deployment Tool's configuration isn't
|
---|
1006 | valid</DL>
|
---|
1007 | </DD>
|
---|
1008 | </DL>
|
---|
1009 | <HR>
|
---|
1010 |
|
---|
1011 | <A NAME="isRebuildRequired(java.io.File, java.io.File)"><!-- --></A><H3>
|
---|
1012 | isRebuildRequired</H3>
|
---|
1013 | <PRE>
|
---|
1014 | protected boolean <B>isRebuildRequired</B>(java.io.File genericJarFile,
|
---|
1015 | java.io.File websphereJarFile)</PRE>
|
---|
1016 | <DL>
|
---|
1017 | <DD>Helper method to check to see if a websphere EBJ1.1 jar needs to be
|
---|
1018 | rebuilt using ejbdeploy. Called from writeJar it sees if the "Bean"
|
---|
1019 | classes are the only thing that needs to be updated and either updates
|
---|
1020 | the Jar with the Bean classfile or returns true, saying that the whole
|
---|
1021 | websphere jar needs to be regened with ejbdeploy. This allows faster
|
---|
1022 | build times for working developers. <p>
|
---|
1023 |
|
---|
1024 | The way websphere ejbdeploy works is it creates wrappers for the
|
---|
1025 | publicly defined methods as they are exposed in the remote interface.
|
---|
1026 | If the actual bean changes without changing the the method signatures
|
---|
1027 | then only the bean classfile needs to be updated and the rest of the
|
---|
1028 | websphere jar file can remain the same. If the Interfaces, ie. the
|
---|
1029 | method signatures change or if the xml deployment descriptors changed,
|
---|
1030 | the whole jar needs to be rebuilt with ejbdeploy. This is not strictly
|
---|
1031 | true for the xml files. If the JNDI name changes then the jar doesnt
|
---|
1032 | have to be rebuild, but if the resources references change then it
|
---|
1033 | does. At this point the websphere jar gets rebuilt if the xml files
|
---|
1034 | change at all.
|
---|
1035 | <P>
|
---|
1036 | <DD><DL>
|
---|
1037 | <DT><B>Parameters:</B><DD><CODE>genericJarFile</CODE> - java.io.File The generic jar file.<DD><CODE>websphereJarFile</CODE> - java.io.File The websphere jar file to check to
|
---|
1038 | see if it needs to be rebuilt.</DL>
|
---|
1039 | </DD>
|
---|
1040 | </DL>
|
---|
1041 | <HR>
|
---|
1042 |
|
---|
1043 | <A NAME="getClassLoaderFromJar(java.io.File)"><!-- --></A><H3>
|
---|
1044 | getClassLoaderFromJar</H3>
|
---|
1045 | <PRE>
|
---|
1046 | protected java.lang.ClassLoader <B>getClassLoaderFromJar</B>(java.io.File classjar)
|
---|
1047 | throws java.io.IOException</PRE>
|
---|
1048 | <DL>
|
---|
1049 | <DD>Helper method invoked by isRebuildRequired to get a ClassLoader for a
|
---|
1050 | Jar File passed to it.
|
---|
1051 | <P>
|
---|
1052 | <DD><DL>
|
---|
1053 | <DT><B>Parameters:</B><DD><CODE>classjar</CODE> - java.io.File representing jar file to get classes from.
|
---|
1054 | <DT><B>Throws:</B>
|
---|
1055 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
1056 | </DD>
|
---|
1057 | </DL>
|
---|
1058 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
1059 | <HR>
|
---|
1060 |
|
---|
1061 |
|
---|
1062 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
1063 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
1064 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
1065 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
1066 | <TR>
|
---|
1067 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
1068 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
1069 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
1070 | <TR ALIGN="center" VALIGN="top">
|
---|
1071 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
1072 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
1073 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
1074 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
1075 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
1076 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
1077 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
1078 | </TR>
|
---|
1079 | </TABLE>
|
---|
1080 | </TD>
|
---|
1081 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
1082 | </EM>
|
---|
1083 | </TD>
|
---|
1084 | </TR>
|
---|
1085 |
|
---|
1086 | <TR>
|
---|
1087 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1088 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WeblogicTOPLinkDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>PREV CLASS</B></A>
|
---|
1089 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.DBVendor.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
1090 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1091 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
1092 | <A HREF="WebsphereDeploymentTool.html" target="_top"><B>NO FRAMES</B></A>
|
---|
1093 | <SCRIPT type="text/javascript">
|
---|
1094 | <!--
|
---|
1095 | if(window==top) {
|
---|
1096 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
1097 | }
|
---|
1098 | //-->
|
---|
1099 | </SCRIPT>
|
---|
1100 | <NOSCRIPT>
|
---|
1101 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
1102 | </NOSCRIPT>
|
---|
1103 |
|
---|
1104 | </FONT></TD>
|
---|
1105 | </TR>
|
---|
1106 | <TR>
|
---|
1107 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1108 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
1109 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1110 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
1111 | </TR>
|
---|
1112 | </TABLE>
|
---|
1113 | <A NAME="skip-navbar_bottom"></A>
|
---|
1114 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
1115 |
|
---|
1116 | <HR>
|
---|
1117 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
1118 | </BODY>
|
---|
1119 | </HTML>
|
---|