source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 27.7 KB
Line 
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:27 NZST 2007 -->
6<TITLE>
7WebLogicHotDeploymentTool (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.j2ee.WebLogicHotDeploymentTool class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="WebLogicHotDeploymentTool (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;NEXT CLASS</FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="WebLogicHotDeploymentTool.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant.taskdefs.optional.j2ee</FONT>
85<BR>
86Class WebLogicHotDeploymentTool</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool</A>
90 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.j2ee.WebLogicHotDeploymentTool</B>
91</PRE>
92<DL>
93<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></DD>
94</DL>
95<HR>
96<DL>
97<DT>public class <B>WebLogicHotDeploymentTool</B><DT>extends <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">AbstractHotDeploymentTool</A><DT>implements <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></DL>
98
99<P>
100An Ant wrapper task for the weblogic.deploy tool. This is used to
101 hot-deploy J2EE applications to a running WebLogic server.
102 This is <b>not</b> the same as creating the application archive.
103 This task assumes the archive (EAR, JAR, or WAR) file has been
104 assembled and is supplied as the "source" attribute.
105 <p>In the end, this task assembles the commadline parameters
106 and runs the weblogic.deploy tool in a seperate JVM.
107<P>
108
109<P>
110<DL>
111<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee"><CODE>HotDeploymentTool</CODE></A>,
112<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee"><CODE>AbstractHotDeploymentTool</CODE></A>,
113<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee"><CODE>ServerDeploy</CODE></A></DL>
114<HR>
115
116<P>
117<!-- ======== NESTED CLASS SUMMARY ======== -->
118
119
120<!-- =========== FIELD SUMMARY =========== -->
121
122<A NAME="field_summary"><!-- --></A>
123<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
124<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
125<TD COLSPAN=2><FONT SIZE="+2">
126<B>Field Summary</B></FONT></TD>
127</TR>
128</TABLE>
129&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
132<TD><B>Fields inherited from interface org.apache.tools.ant.taskdefs.optional.j2ee.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></B></TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#ACTION_DELETE">ACTION_DELETE</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#ACTION_DEPLOY">ACTION_DEPLOY</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#ACTION_LIST">ACTION_LIST</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#ACTION_UNDEPLOY">ACTION_UNDEPLOY</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#ACTION_UPDATE">ACTION_UPDATE</A></CODE></TD>
136</TR>
137</TABLE>
138&nbsp;
139<!-- ======== CONSTRUCTOR SUMMARY ======== -->
140
141<A NAME="constructor_summary"><!-- --></A>
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144<TD COLSPAN=2><FONT SIZE="+2">
145<B>Constructor Summary</B></FONT></TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#WebLogicHotDeploymentTool()">WebLogicHotDeploymentTool</A></B>()</CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
152</TR>
153</TABLE>
154&nbsp;
155<!-- ========== METHOD SUMMARY =========== -->
156
157<A NAME="method_summary"><!-- --></A>
158<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160<TD COLSPAN=2><FONT SIZE="+2">
161<B>Method Summary</B></FONT></TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>protected &nbsp;java.lang.StringBuffer</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#buildArgsPrefix()">buildArgsPrefix</A></B>()</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the prefix arguments to pass to weblogic.deploy.</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
174<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#buildDeployArgs()">buildDeployArgs</A></B>()</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the arguments to pass to weblogic.deploy for deployment actions
178 ("deploy" and "update").</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#buildListArgs()">buildListArgs</A></B>()</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the arguments to pass to weblogic.deploy for the list action</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#buildUndeployArgs()">buildUndeployArgs</A></B>()</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the arguments to pass to weblogic.deploy for undeployment actions
195 ("undeploy" and "delete").</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;void</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#deploy()">deploy</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform the actual deployment.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#getArguments()">getArguments</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the arguments to pass to weblogic.deploy according to the
212 supplied action.</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>protected &nbsp;boolean</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#isActionValid()">isActionValid</A></B>()</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the action supplied is valid.</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;void</CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#setApplication(java.lang.String)">setApplication</A></B>(java.lang.String&nbsp;application)</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the application being deployed; required.</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232<CODE>&nbsp;void</CODE></FONT></TD>
233<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#setComponent(java.lang.String)">setComponent</A></B>(java.lang.String&nbsp;component)</CODE>
234
235<BR>
236&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the component string for the deployment targets; optional.</TD>
237</TR>
238<TR BGCOLOR="white" CLASS="TableRowColor">
239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240<CODE>&nbsp;void</CODE></FONT></TD>
241<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#setDebug(boolean)">setDebug</A></B>(boolean&nbsp;debug)</CODE>
242
243<BR>
244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If set to true, additional information will be
245 printed during the deployment process; optional.</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;void</CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.html#validateAttributes()">validateAttributes</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validates the passed in attributes.</TD>
254</TR>
255</TABLE>
256&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool"><!-- --></A>
257<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
258<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
259<TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.optional.j2ee.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">AbstractHotDeploymentTool</A></B></TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#createClasspath()">createClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#getClasspath()">getClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#getPassword()">getPassword</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#getServer()">getServer</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#getTask()">getTask</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#getUserName()">getUserName</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#setPassword(java.lang.String)">setPassword</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#setServer(java.lang.String)">setServer</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#setTask(org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy)">setTask</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#setUserName(java.lang.String)">setUserName</A></CODE></TD>
263</TR>
264</TABLE>
265&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
266<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
267<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
268<TD><B>Methods inherited from class java.lang.Object</B></TD>
269</TR>
270<TR BGCOLOR="white" CLASS="TableRowColor">
271<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
272</TR>
273</TABLE>
274&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool"><!-- --></A>
275<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
276<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
277<TD><B>Methods inherited from interface org.apache.tools.ant.taskdefs.optional.j2ee.<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></B></TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#setTask(org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy)">setTask</A></CODE></TD>
281</TR>
282</TABLE>
283&nbsp;
284<P>
285
286<!-- ============ FIELD DETAIL =========== -->
287
288
289<!-- ========= CONSTRUCTOR DETAIL ======== -->
290
291<A NAME="constructor_detail"><!-- --></A>
292<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
293<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
294<TD COLSPAN=1><FONT SIZE="+2">
295<B>Constructor Detail</B></FONT></TD>
296</TR>
297</TABLE>
298
299<A NAME="WebLogicHotDeploymentTool()"><!-- --></A><H3>
300WebLogicHotDeploymentTool</H3>
301<PRE>
302public <B>WebLogicHotDeploymentTool</B>()</PRE>
303<DL>
304</DL>
305
306<!-- ============ METHOD DETAIL ========== -->
307
308<A NAME="method_detail"><!-- --></A>
309<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
310<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
311<TD COLSPAN=1><FONT SIZE="+2">
312<B>Method Detail</B></FONT></TD>
313</TR>
314</TABLE>
315
316<A NAME="deploy()"><!-- --></A><H3>
317deploy</H3>
318<PRE>
319public void <B>deploy</B>()</PRE>
320<DL>
321<DD>Perform the actual deployment.
322 For this implementation, a JVM is spawned and the weblogic.deploy
323 tools is executed.
324<P>
325<DD><DL>
326<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#deploy()">deploy</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#deploy()">deploy</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">AbstractHotDeploymentTool</A></CODE></DL>
327</DD>
328<DD><DL>
329
330<DT><B>Throws:</B>
331<DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the attributes are invalid or incomplete.</DL>
332</DD>
333</DL>
334<HR>
335
336<A NAME="validateAttributes()"><!-- --></A><H3>
337validateAttributes</H3>
338<PRE>
339public void <B>validateAttributes</B>()
340 throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
341<DL>
342<DD>Validates the passed in attributes.
343 <p>The rules are:
344 <ol><li>If action is "deploy" or "update" the "application" and "source"
345 attributes must be supplied.
346 <li>If action is "delete" or "undeploy" the "application" attribute must
347 be supplied.
348<P>
349<DD><DL>
350<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html#validateAttributes()">validateAttributes</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.html" title="interface in org.apache.tools.ant.taskdefs.optional.j2ee">HotDeploymentTool</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#validateAttributes()">validateAttributes</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">AbstractHotDeploymentTool</A></CODE></DL>
351</DD>
352<DD><DL>
353
354<DT><B>Throws:</B>
355<DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the attributes are invalid or incomplete</DL>
356</DD>
357</DL>
358<HR>
359
360<A NAME="getArguments()"><!-- --></A><H3>
361getArguments</H3>
362<PRE>
363public java.lang.String <B>getArguments</B>()
364 throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
365<DL>
366<DD>Builds the arguments to pass to weblogic.deploy according to the
367 supplied action.
368<P>
369<DD><DL>
370</DL>
371</DD>
372<DD><DL>
373
374<DT><B>Returns:</B><DD>A String containing the arguments for the weblogic.deploy tool.
375<DT><B>Throws:</B>
376<DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
377</DD>
378</DL>
379<HR>
380
381<A NAME="isActionValid()"><!-- --></A><H3>
382isActionValid</H3>
383<PRE>
384protected boolean <B>isActionValid</B>()</PRE>
385<DL>
386<DD>Determines if the action supplied is valid.
387 <p>Valid actions are contained in the static array VALID_ACTIONS
388<P>
389<DD><DL>
390<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html#isActionValid()">isActionValid</A></CODE> in class <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">AbstractHotDeploymentTool</A></CODE></DL>
391</DD>
392<DD><DL>
393
394<DT><B>Returns:</B><DD>true if the action attribute is valid, false if not.</DL>
395</DD>
396</DL>
397<HR>
398
399<A NAME="buildArgsPrefix()"><!-- --></A><H3>
400buildArgsPrefix</H3>
401<PRE>
402protected java.lang.StringBuffer <B>buildArgsPrefix</B>()</PRE>
403<DL>
404<DD>Builds the prefix arguments to pass to weblogic.deploy.
405 These arguments are generic across all actions.
406<P>
407<DD><DL>
408</DL>
409</DD>
410<DD><DL>
411
412<DT><B>Returns:</B><DD>A StringBuffer containing the prefix arguments.
413 The action-specific build methods will append to this StringBuffer.</DL>
414</DD>
415</DL>
416<HR>
417
418<A NAME="buildDeployArgs()"><!-- --></A><H3>
419buildDeployArgs</H3>
420<PRE>
421protected java.lang.String <B>buildDeployArgs</B>()</PRE>
422<DL>
423<DD>Builds the arguments to pass to weblogic.deploy for deployment actions
424 ("deploy" and "update").
425<P>
426<DD><DL>
427</DL>
428</DD>
429<DD><DL>
430
431<DT><B>Returns:</B><DD>A String containing the full argument string for weblogic.deploy.</DL>
432</DD>
433</DL>
434<HR>
435
436<A NAME="buildUndeployArgs()"><!-- --></A><H3>
437buildUndeployArgs</H3>
438<PRE>
439protected java.lang.String <B>buildUndeployArgs</B>()</PRE>
440<DL>
441<DD>Builds the arguments to pass to weblogic.deploy for undeployment actions
442 ("undeploy" and "delete").
443<P>
444<DD><DL>
445</DL>
446</DD>
447<DD><DL>
448
449<DT><B>Returns:</B><DD>A String containing the full argument string for weblogic.deploy.</DL>
450</DD>
451</DL>
452<HR>
453
454<A NAME="buildListArgs()"><!-- --></A><H3>
455buildListArgs</H3>
456<PRE>
457protected java.lang.String <B>buildListArgs</B>()</PRE>
458<DL>
459<DD>Builds the arguments to pass to weblogic.deploy for the list action
460<P>
461<DD><DL>
462</DL>
463</DD>
464<DD><DL>
465
466<DT><B>Returns:</B><DD>A String containing the full argument string for weblogic.deploy.</DL>
467</DD>
468</DL>
469<HR>
470
471<A NAME="setDebug(boolean)"><!-- --></A><H3>
472setDebug</H3>
473<PRE>
474public void <B>setDebug</B>(boolean&nbsp;debug)</PRE>
475<DL>
476<DD>If set to true, additional information will be
477 printed during the deployment process; optional.
478<P>
479<DD><DL>
480</DL>
481</DD>
482<DD><DL>
483<DT><B>Parameters:</B><DD><CODE>debug</CODE> - A boolean representing weblogic.deploy "-debug" flag.</DL>
484</DD>
485</DL>
486<HR>
487
488<A NAME="setApplication(java.lang.String)"><!-- --></A><H3>
489setApplication</H3>
490<PRE>
491public void <B>setApplication</B>(java.lang.String&nbsp;application)</PRE>
492<DL>
493<DD>The name of the application being deployed; required.
494<P>
495<DD><DL>
496</DL>
497</DD>
498<DD><DL>
499<DT><B>Parameters:</B><DD><CODE>application</CODE> - A String representing the application portion of the
500 weblogic.deploy command line.</DL>
501</DD>
502</DL>
503<HR>
504
505<A NAME="setComponent(java.lang.String)"><!-- --></A><H3>
506setComponent</H3>
507<PRE>
508public void <B>setComponent</B>(java.lang.String&nbsp;component)</PRE>
509<DL>
510<DD>the component string for the deployment targets; optional.
511 It is in the form <code>&lt;component&gt;:&lt;target1&gt;,&lt;target2&gt;...</code>
512 Where component is the archive name (minus the .jar, .ear, .war
513 extension). Targets are the servers where the components will be deployed
514<P>
515<DD><DL>
516</DL>
517</DD>
518<DD><DL>
519<DT><B>Parameters:</B><DD><CODE>component</CODE> - A String representing the value of the "-component"
520 argument of the weblogic.deploy command line argument.</DL>
521</DD>
522</DL>
523<!-- ========= END OF CLASS DATA ========= -->
524<HR>
525
526
527<!-- ======= START OF BOTTOM NAVBAR ====== -->
528<A NAME="navbar_bottom"><!-- --></A>
529<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
530<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
531<TR>
532<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
533<A NAME="navbar_bottom_firstrow"><!-- --></A>
534<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
535 <TR ALIGN="center" VALIGN="top">
536 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
537 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
538 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
539 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
540 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
541 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
542 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
543 </TR>
544</TABLE>
545</TD>
546<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
547</EM>
548</TD>
549</TR>
550
551<TR>
552<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
553&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee"><B>PREV CLASS</B></A>&nbsp;
554&nbsp;NEXT CLASS</FONT></TD>
555<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
556 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
557&nbsp;<A HREF="WebLogicHotDeploymentTool.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
558&nbsp;<SCRIPT type="text/javascript">
559 <!--
560 if(window==top) {
561 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
562 }
563 //-->
564</SCRIPT>
565<NOSCRIPT>
566 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
567</NOSCRIPT>
568
569</FONT></TD>
570</TR>
571<TR>
572<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
573 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
574<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
575DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
576</TR>
577</TABLE>
578<A NAME="skip-navbar_bottom"></A>
579<!-- ======== END OF BOTTOM NAVBAR ======= -->
580
581<HR>
582Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
583</BODY>
584</HTML>
Note: See TracBrowser for help on using the repository browser.