????
| Current Path : /opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/ejb/ |
| Current File : //opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:53 CEST 2012 -->
<title>WebsphereDeploymentTool (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WebsphereDeploymentTool (Apache Ant API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WeblogicTOPLinkDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html" target="_top">Frames</a></li>
<li><a href="WebsphereDeploymentTool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.tools.ant.taskdefs.optional.ejb</div>
<h2 title="Class WebsphereDeploymentTool" class="title">Class WebsphereDeploymentTool</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><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></li>
<li>
<ul class="inheritance">
<li>org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<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>
</dl>
<hr>
<br>
<pre>public class <span class="strong">WebsphereDeploymentTool</span>
extends <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">GenericDeploymentTool</a></pre>
<div class="block">Websphere deployment tool that augments the ejbjar task.
Searches for the websphere specific deployment descriptors and
adds them to the final ejb jar file. Websphere has two specific descriptors for session
beans:
<ul>
<li>ibm-ejb-jar-bnd.xmi</li>
<li>ibm-ejb-jar-ext.xmi</li>
</ul>
and another two for container managed entity beans:
<ul>
<li>Map.mapxmi</li>
<li>Schema.dbxmi</li>
</ul>
In terms of WebSphere, the generation of container code and stubs is
called <code>deployment</code>. This step can be performed by the websphere
element as part of the jar generation process. If the switch
<code>ejbdeploy</code> is on, the ejbdeploy tool from the websphere toolset
is called for every ejb-jar. Unfortunately, this step only works, if you
use the ibm jdk. Otherwise, the rmic (called by ejbdeploy) throws a
ClassFormatError. Be sure to switch ejbdeploy off, if run ant with
sun jdk.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#PUBLICID_EJB11">PUBLICID_EJB11</a></strong></code>
<div class="block">ID for ejb 1.1</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#PUBLICID_EJB20">PUBLICID_EJB20</a></strong></code>
<div class="block">ID for ejb 2.0</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#SCHEMA_DIR">SCHEMA_DIR</a></strong></code>
<div class="block">Schema directory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_BND">WAS_BND</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_CMP_MAP">WAS_CMP_MAP</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_CMP_SCHEMA">WAS_CMP_SCHEMA</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WAS_EXT">WAS_EXT</a></strong></code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool">
<!-- -->
</a>
<h3>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></h3>
<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#DEFAULT_BUFFER_SIZE">DEFAULT_BUFFER_SIZE</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#JAR_COMPRESS_LEVEL">JAR_COMPRESS_LEVEL</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></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#WebsphereDeploymentTool()">WebsphereDeploymentTool</a></strong>()</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#addVendorFiles(java.util.Hashtable, java.lang.String)">addVendorFiles</a></strong>(java.util.Hashtable ejbFiles,
java.lang.String baseName)</code>
<div class="block">Add any vendor specific files which should be included in the EJB Jar.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#createWASClasspath()">createWASClasspath</a></strong>()</code>
<div class="block">Get the classpath to the websphere classpaths.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.ClassLoader</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getClassLoaderFromJar(java.io.File)">getClassLoaderFromJar</a></strong>(java.io.File classjar)</code>
<div class="block">Helper method invoked by isRebuildRequired to get a ClassLoader for a
Jar File passed to it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getDescriptorHandler(java.io.File)">getDescriptorHandler</a></strong>(java.io.File srcDir)</code>
<div class="block">Get a descriptionHandler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getOptions()">getOptions</a></strong>()</code>
<div class="block">Gets the options for the EJB Deploy operation</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#getWebsphereDescriptorHandler(java.io.File)">getWebsphereDescriptorHandler</a></strong>(java.io.File srcDir)</code>
<div class="block">Get a description handler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#isRebuildRequired(java.io.File, java.io.File)">isRebuildRequired</a></strong>(java.io.File genericJarFile,
java.io.File websphereJarFile)</code>
<div class="block">Helper method to check to see if a websphere EBJ1.1 jar needs to be
rebuilt using ejbdeploy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setCodegen(boolean)">setCodegen</a></strong>(boolean codegen)</code>
<div class="block">Flag, default false, to only generate the deployment
code, do not run RMIC or Javac</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbname(java.lang.String)">setDbname</a></strong>(java.lang.String dbName)</code>
<div class="block">Sets the name of the Database to create; optional.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbschema(java.lang.String)">setDbschema</a></strong>(java.lang.String dbSchema)</code>
<div class="block">Sets the name of the schema to create; optional.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setDbvendor(java.lang.String)">setDbvendor</a></strong>(java.lang.String dbvendor)</code>
<div class="block">Sets the DB Vendor for the Entity Bean mapping ; optional.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setEjbdeploy(boolean)">setEjbdeploy</a></strong>(boolean ejbdeploy)</code>
<div class="block">Decide, wether ejbdeploy should be called or not;
optional, default true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setEJBdtd(java.lang.String)">setEJBdtd</a></strong>(java.lang.String inString)</code>
<div class="block">Setter used to store the location of the Sun's Generic EJB DTD.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setKeepgeneric(boolean)">setKeepgeneric</a></strong>(boolean inValue)</code>
<div class="block">This controls whether the generic file used as input to
ejbdeploy is retained; optional, default false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNewCMP(boolean)">setNewCMP</a></strong>(boolean newCMP)</code>
<div class="block">Set the value of the newCMP scheme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNoinform(boolean)">setNoinform</a></strong>(boolean noinform)</code>
<div class="block">Flag to disable informational messages; optional, default false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNovalidate(boolean)">setNovalidate</a></strong>(boolean novalidate)</code>
<div class="block">Flag to disable the validation steps; optional, default false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setNowarn(boolean)">setNowarn</a></strong>(boolean nowarn)</code>
<div class="block">Flag to disable warning and informational messages; optional, default false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setOldCMP(boolean)">setOldCMP</a></strong>(boolean oldCMP)</code>
<div class="block">Set the value of the oldCMP scheme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setQuiet(boolean)">setQuiet</a></strong>(boolean quiet)</code>
<div class="block">Flag, default true, to only output error messages.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setRebuild(boolean)">setRebuild</a></strong>(boolean rebuild)</code>
<div class="block">Set the rebuild flag to false to only update changes in the jar rather
than rerunning ejbdeploy; optional, default true.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setRmicoptions(java.lang.String)">setRmicoptions</a></strong>(java.lang.String options)</code>
<div class="block">Set the rmic options.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setSuffix(java.lang.String)">setSuffix</a></strong>(java.lang.String inString)</code>
<div class="block">String value appended to the basename of the deployment
descriptor to create the filename of the WebLogic EJB
jar file.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setTempdir(java.lang.String)">setTempdir</a></strong>(java.lang.String tempdir)</code>
<div class="block">The directory, where ejbdeploy will write temporary files;
optional, defaults to '_ejbdeploy_temp'.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setTrace(boolean)">setTrace</a></strong>(boolean trace)</code>
<div class="block">Flag to enable internal tracing when set, optional, default false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setUse35(boolean)">setUse35</a></strong>(boolean attr)</code>
<div class="block">Flag to use the WebSphere 3.5 compatible mapping rules ; optional, default false.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#setWASClasspath(org.apache.tools.ant.types.Path)">setWASClasspath</a></strong>(<a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> wasClasspath)</code>
<div class="block">Set the websphere classpath.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html#validateConfigured()">validateConfigured</a></strong>()</code>
<div class="block">Called to validate that the tool parameters have been configured.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><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></strong>(java.lang.String baseName,
java.io.File jarFile,
java.util.Hashtable files,
java.lang.String publicId)</code>
<div class="block">Method used to encapsulate the writing of the JAR file.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool">
<!-- -->
</a>
<h3>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></h3>
<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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PUBLICID_EJB11">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PUBLICID_EJB11</h4>
<pre>public static final java.lang.String PUBLICID_EJB11</pre>
<div class="block">ID for ejb 1.1</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.PUBLICID_EJB11">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PUBLICID_EJB20">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PUBLICID_EJB20</h4>
<pre>public static final java.lang.String PUBLICID_EJB20</pre>
<div class="block">ID for ejb 2.0</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.PUBLICID_EJB20">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SCHEMA_DIR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SCHEMA_DIR</h4>
<pre>protected static final java.lang.String SCHEMA_DIR</pre>
<div class="block">Schema directory</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.SCHEMA_DIR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="WAS_EXT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WAS_EXT</h4>
<pre>protected static final java.lang.String WAS_EXT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_EXT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="WAS_BND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WAS_BND</h4>
<pre>protected static final java.lang.String WAS_BND</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_BND">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="WAS_CMP_MAP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WAS_CMP_MAP</h4>
<pre>protected static final java.lang.String WAS_CMP_MAP</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_CMP_MAP">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="WAS_CMP_SCHEMA">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>WAS_CMP_SCHEMA</h4>
<pre>protected static final java.lang.String WAS_CMP_SCHEMA</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.ejb.WebsphereDeploymentTool.WAS_CMP_SCHEMA">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="WebsphereDeploymentTool()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>WebsphereDeploymentTool</h4>
<pre>public WebsphereDeploymentTool()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createWASClasspath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWASClasspath</h4>
<pre>public <a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> createWASClasspath()</pre>
<div class="block">Get the classpath to the websphere classpaths.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the websphere classpath.</dd></dl>
</li>
</ul>
<a name="setWASClasspath(org.apache.tools.ant.types.Path)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWASClasspath</h4>
<pre>public void setWASClasspath(<a href="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</a> wasClasspath)</pre>
<div class="block">Set the websphere classpath.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wasClasspath</code> - the websphere classpath.</dd></dl>
</li>
</ul>
<a name="setDbvendor(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDbvendor</h4>
<pre>public void setDbvendor(java.lang.String dbvendor)</pre>
<div class="block">Sets the DB Vendor for the Entity Bean mapping ; optional.
<p>
Valid options can be obtained by running the following command:
<code>
<WAS_HOME>/bin/EJBDeploy.[sh/bat] -help
</code>
</p>
<p>
This is also used to determine the name of the Map.mapxmi and
Schema.dbxmi files, for example Account-DB2UDB_V81-Map.mapxmi
and Account-DB2UDB_V81-Schema.dbxmi.
</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dbvendor</code> - database vendor type</dd></dl>
</li>
</ul>
<a name="setDbname(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDbname</h4>
<pre>public void setDbname(java.lang.String dbName)</pre>
<div class="block">Sets the name of the Database to create; optional.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dbName</code> - name of the database</dd></dl>
</li>
</ul>
<a name="setDbschema(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDbschema</h4>
<pre>public void setDbschema(java.lang.String dbSchema)</pre>
<div class="block">Sets the name of the schema to create; optional.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dbSchema</code> - name of the schema</dd></dl>
</li>
</ul>
<a name="setCodegen(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCodegen</h4>
<pre>public void setCodegen(boolean codegen)</pre>
<div class="block">Flag, default false, to only generate the deployment
code, do not run RMIC or Javac</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>codegen</code> - option</dd></dl>
</li>
</ul>
<a name="setQuiet(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQuiet</h4>
<pre>public void setQuiet(boolean quiet)</pre>
<div class="block">Flag, default true, to only output error messages.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quiet</code> - option</dd></dl>
</li>
</ul>
<a name="setNovalidate(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNovalidate</h4>
<pre>public void setNovalidate(boolean novalidate)</pre>
<div class="block">Flag to disable the validation steps; optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>novalidate</code> - option</dd></dl>
</li>
</ul>
<a name="setNowarn(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNowarn</h4>
<pre>public void setNowarn(boolean nowarn)</pre>
<div class="block">Flag to disable warning and informational messages; optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nowarn</code> - option</dd></dl>
</li>
</ul>
<a name="setNoinform(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNoinform</h4>
<pre>public void setNoinform(boolean noinform)</pre>
<div class="block">Flag to disable informational messages; optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>noinform</code> - if true disables informational messages</dd></dl>
</li>
</ul>
<a name="setTrace(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTrace</h4>
<pre>public void setTrace(boolean trace)</pre>
<div class="block">Flag to enable internal tracing when set, optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>trace</code> - a <code>boolean</code> vaule.</dd></dl>
</li>
</ul>
<a name="setRmicoptions(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRmicoptions</h4>
<pre>public void setRmicoptions(java.lang.String options)</pre>
<div class="block">Set the rmic options.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>options</code> - the options to use.</dd></dl>
</li>
</ul>
<a name="setUse35(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUse35</h4>
<pre>public void setUse35(boolean attr)</pre>
<div class="block">Flag to use the WebSphere 3.5 compatible mapping rules ; optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>attr</code> - a <code>boolean</code> value.</dd></dl>
</li>
</ul>
<a name="setRebuild(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRebuild</h4>
<pre>public void setRebuild(boolean rebuild)</pre>
<div class="block">Set the rebuild flag to false to only update changes in the jar rather
than rerunning ejbdeploy; optional, default true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rebuild</code> - a <code>boolean</code> value.</dd></dl>
</li>
</ul>
<a name="setSuffix(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSuffix</h4>
<pre>public void setSuffix(java.lang.String inString)</pre>
<div class="block">String value appended to the basename of the deployment
descriptor to create the filename of the WebLogic EJB
jar file. Optional, default '.jar'.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inString</code> - the string to use as the suffix.</dd></dl>
</li>
</ul>
<a name="setKeepgeneric(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKeepgeneric</h4>
<pre>public void setKeepgeneric(boolean inValue)</pre>
<div class="block">This controls whether the generic file used as input to
ejbdeploy is retained; optional, default false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inValue</code> - either 'true' or 'false'.</dd></dl>
</li>
</ul>
<a name="setEjbdeploy(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEjbdeploy</h4>
<pre>public void setEjbdeploy(boolean ejbdeploy)</pre>
<div class="block">Decide, wether ejbdeploy should be called or not;
optional, default true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ejbdeploy</code> - a <code>boolean</code> value.</dd></dl>
</li>
</ul>
<a name="setEJBdtd(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEJBdtd</h4>
<pre>public void setEJBdtd(java.lang.String inString)</pre>
<div class="block">Setter used to store the location of the Sun's Generic EJB DTD. This
can be a file on the system or a resource on the classpath.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>inString</code> - the string to use as the DTD location.</dd></dl>
</li>
</ul>
<a name="setOldCMP(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOldCMP</h4>
<pre>public void setOldCMP(boolean oldCMP)</pre>
<div class="block">Set the value of the oldCMP scheme. This is an antonym for newCMP</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>oldCMP</code> - a <code>boolean</code> value.</dd></dl>
</li>
</ul>
<a name="setNewCMP(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNewCMP</h4>
<pre>public void setNewCMP(boolean newCMP)</pre>
<div class="block">Set the value of the newCMP scheme. The old CMP scheme locates the
websphere CMP descriptor based on the naming convention where the
websphere CMP file is expected to be named with the bean name as the
prefix. Under this scheme the name of the CMP descriptor does not match
the name actually used in the main websphere EJB descriptor. Also,
descriptors which contain multiple CMP references could not be used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newCMP</code> - a <code>boolean</code> value.</dd></dl>
</li>
</ul>
<a name="setTempdir(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTempdir</h4>
<pre>public void setTempdir(java.lang.String tempdir)</pre>
<div class="block">The directory, where ejbdeploy will write temporary files;
optional, defaults to '_ejbdeploy_temp'.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tempdir</code> - the directory name to use.</dd></dl>
</li>
</ul>
<a name="getDescriptorHandler(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptorHandler</h4>
<pre>protected <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</a> getDescriptorHandler(java.io.File srcDir)</pre>
<div class="block">Get a descriptionHandler..</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>srcDir</code> - the source directory.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a handler.</dd></dl>
</li>
</ul>
<a name="getWebsphereDescriptorHandler(java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWebsphereDescriptorHandler</h4>
<pre>protected <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">DescriptorHandler</a> getWebsphereDescriptorHandler(java.io.File srcDir)</pre>
<div class="block">Get a description handler.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>srcDir</code> - the source directory.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the handler.</dd></dl>
</li>
</ul>
<a name="addVendorFiles(java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addVendorFiles</h4>
<pre>protected void addVendorFiles(java.util.Hashtable ejbFiles,
java.lang.String baseName)</pre>
<div class="block">Add any vendor specific files which should be included in the EJB Jar.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>ejbFiles</code> - a hashtable entryname -> file.</dd><dd><code>baseName</code> - a prefix to use.</dd></dl>
</li>
</ul>
<a name="getOptions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptions</h4>
<pre>protected java.lang.String getOptions()</pre>
<div class="block">Gets the options for the EJB Deploy operation</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>String</dd></dl>
</li>
</ul>
<a name="writeJar(java.lang.String, java.io.File, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeJar</h4>
<pre>protected void writeJar(java.lang.String baseName,
java.io.File jarFile,
java.util.Hashtable files,
java.lang.String publicId)
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Method used to encapsulate the writing of the JAR file. Iterates over the
filenames/java.io.Files in the Hashtable stored on the instance variable
ejbFiles..</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>baseName</code> - the base name to use.</dd><dd><code>jarFile</code> - the jar file to write to.</dd><dd><code>files</code> - the files to write to the jar.</dd><dd><code>publicId</code> - the id to use.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if there is a problem.</dd></dl>
</li>
</ul>
<a name="validateConfigured()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateConfigured</h4>
<pre>public void validateConfigured()
throws <a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Called to validate that the tool parameters have been configured.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if there is an error.</dd></dl>
</li>
</ul>
<a name="isRebuildRequired(java.io.File, java.io.File)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRebuildRequired</h4>
<pre>protected boolean isRebuildRequired(java.io.File genericJarFile,
java.io.File websphereJarFile)</pre>
<div class="block">Helper method to check to see if a websphere EBJ1.1 jar needs to be
rebuilt using ejbdeploy. Called from writeJar it sees if the "Bean"
classes are the only thing that needs to be updated and either updates
the Jar with the Bean classfile or returns true, saying that the whole
websphere jar needs to be regened with ejbdeploy. This allows faster
build times for working developers. <p>
The way websphere ejbdeploy works is it creates wrappers for the
publicly defined methods as they are exposed in the remote interface.
If the actual bean changes without changing the the method signatures
then only the bean classfile needs to be updated and the rest of the
websphere jar file can remain the same. If the Interfaces, ie. the
method signatures change or if the xml deployment descriptors changed,
the whole jar needs to be rebuilt with ejbdeploy. This is not strictly
true for the xml files. If the JNDI name changes then the jar doesnt
have to be rebuild, but if the resources references change then it
does. At this point the websphere jar gets rebuilt if the xml files
change at all.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>genericJarFile</code> - java.io.File The generic jar file.</dd><dd><code>websphereJarFile</code> - java.io.File The websphere jar file to check to
see if it needs to be rebuilt.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if a rebuild is required.</dd></dl>
</li>
</ul>
<a name="getClassLoaderFromJar(java.io.File)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getClassLoaderFromJar</h4>
<pre>protected java.lang.ClassLoader getClassLoaderFromJar(java.io.File classjar)
throws java.io.IOException</pre>
<div class="block">Helper method invoked by isRebuildRequired to get a ClassLoader for a
Jar File passed to it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classjar</code> - java.io.File representing jar file to get classes from.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a classloader for the jar file.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if there is an error.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/WeblogicTOPLinkDeploymentTool.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.html" target="_top">Frames</a></li>
<li><a href="WebsphereDeploymentTool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>