deploymentmanager.html

来自「j2ee api,很好的api。我这现在有」· HTML 代码 · 共 951 行 · 第 1/4 页

HTML
951
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#isLocaleSupported(java.util.Locale)">isLocaleSupported</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports if this implementation supports the designated locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#isRedeploySupported()">isRedeploySupported</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method designates whether this platform vendor provides application redeployment functionality. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/status/ProgressObject.html" title="interface in javax.enterprise.deploy.spi.status">ProgressObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#redeploy(javax.enterprise.deploy.spi.TargetModuleID[], java.io.File, java.io.File)">redeploy</A></B>(<A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[]&nbsp;moduleIDList,         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;moduleArchive,         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;deploymentPlan)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(optional) The redeploy method provides a means for updating currently deployed J2EE applications.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/status/ProgressObject.html" title="interface in javax.enterprise.deploy.spi.status">ProgressObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#redeploy(javax.enterprise.deploy.spi.TargetModuleID[], java.io.InputStream, java.io.InputStream)">redeploy</A></B>(<A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[]&nbsp;moduleIDList,         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A>&nbsp;moduleArchive,         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A>&nbsp;deploymentPlan)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(optional) The redeploy method provides a means for updating currently deployed J2EE applications.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#release()">release</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The release method is the mechanism by which the tool signals  to the DeploymentManager that the tool does not need it to continue running connected to the platform.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType)">setDConfigBeanVersion</A></B>(<A HREF="../../../../javax/enterprise/deploy/shared/DConfigBeanVersionType.html" title="class in javax.enterprise.deploy.shared">DConfigBeanVersionType</A>&nbsp;version)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the configuration beans to be used to the J2EE platform  version specificed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#setLocale(java.util.Locale)">setLocale</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the active locale for this implementation of javax.enterprise.deploy.spi subpackages to run.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/status/ProgressObject.html" title="interface in javax.enterprise.deploy.spi.status">ProgressObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#start(javax.enterprise.deploy.spi.TargetModuleID[])">start</A></B>(<A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[]&nbsp;moduleIDList)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the application running.   </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/status/ProgressObject.html" title="interface in javax.enterprise.deploy.spi.status">ProgressObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#stop(javax.enterprise.deploy.spi.TargetModuleID[])">stop</A></B>(<A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[]&nbsp;moduleIDList)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop the application running.   </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/status/ProgressObject.html" title="interface in javax.enterprise.deploy.spi.status">ProgressObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/enterprise/deploy/spi/DeploymentManager.html#undeploy(javax.enterprise.deploy.spi.TargetModuleID[])">undeploy</A></B>(<A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[]&nbsp;moduleIDList)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the application from the target server.   </TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getTargets()"><!-- --></A><H3>getTargets</H3><PRE>public <A HREF="../../../../javax/enterprise/deploy/spi/Target.html" title="interface in javax.enterprise.deploy.spi">Target</A>[] <B>getTargets</B>()                    throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Retrieve the list of deployment targets supported by  this DeploymentManager.<P><DD><DL><DT><B>Returns:</B><DD>A list of deployment Target designators the            user may select for application deployment or 'null'           if there are none.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - is thrown when the method is                    called when running in disconnected mode.</DL></DD></DL><HR><A NAME="getRunningModules(javax.enterprise.deploy.shared.ModuleType, javax.enterprise.deploy.spi.Target[])"><!-- --></A><H3>getRunningModules</H3><PRE>public <A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[] <B>getRunningModules</B>(<A HREF="../../../../javax/enterprise/deploy/shared/ModuleType.html" title="class in javax.enterprise.deploy.shared">ModuleType</A>&nbsp;moduleType,                                          <A HREF="../../../../javax/enterprise/deploy/spi/Target.html" title="interface in javax.enterprise.deploy.spi">Target</A>[]&nbsp;targetList)                                   throws <A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A>,                                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Retrieve the list of J2EE application modules distributed  to the identified targets and that are currently running  on the associated server or servers.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleType</CODE> - A predefined designator for a J2EE                    module type.<DD><CODE>targetList</CODE> - A list of deployment Target designators                   the user wants checked for module run                   status.<DT><B>Returns:</B><DD>An array of TargetModuleID objects representing                   the running modules or 'null' if there                   are none.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - is thrown when the method is                    called when running in disconnected mode.<DD><CODE><A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A></CODE> - An invalid Target designator                   encountered.</DL></DD></DL><HR><A NAME="getNonRunningModules(javax.enterprise.deploy.shared.ModuleType, javax.enterprise.deploy.spi.Target[])"><!-- --></A><H3>getNonRunningModules</H3><PRE>public <A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[] <B>getNonRunningModules</B>(<A HREF="../../../../javax/enterprise/deploy/shared/ModuleType.html" title="class in javax.enterprise.deploy.shared">ModuleType</A>&nbsp;moduleType,                                             <A HREF="../../../../javax/enterprise/deploy/spi/Target.html" title="interface in javax.enterprise.deploy.spi">Target</A>[]&nbsp;targetList)                                      throws <A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A>,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Retrieve the list of J2EE application modules distributed  to the identified targets and that are currently not running on the associated server or servers.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleType</CODE> - A predefined designator for a J2EE                    module type.<DD><CODE>targetList</CODE> - A list of deployment Target designators                   the user wants checked for module not                    running status.<DT><B>Returns:</B><DD>An array of TargetModuleID objects representing                   the non-running modules or 'null' if                   there are none.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - is thrown when the method is                    called when running in disconnected mode.<DD><CODE><A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A></CODE> - An invalid Target designator                   encountered.</DL></DD></DL><HR><A NAME="getAvailableModules(javax.enterprise.deploy.shared.ModuleType, javax.enterprise.deploy.spi.Target[])"><!-- --></A><H3>getAvailableModules</H3><PRE>public <A HREF="../../../../javax/enterprise/deploy/spi/TargetModuleID.html" title="interface in javax.enterprise.deploy.spi">TargetModuleID</A>[] <B>getAvailableModules</B>(<A HREF="../../../../javax/enterprise/deploy/shared/ModuleType.html" title="class in javax.enterprise.deploy.shared">ModuleType</A>&nbsp;moduleType,                                            <A HREF="../../../../javax/enterprise/deploy/spi/Target.html" title="interface in javax.enterprise.deploy.spi">Target</A>[]&nbsp;targetList)                                     throws <A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A>,                                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></PRE><DL><DD>Retrieve the list of all J2EE application modules running  or not running on the identified targets.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleType</CODE> - A predefined designator for a J2EE                    module type.<DD><CODE>targetList</CODE> - A list of deployment Target designators                   the user wants checked for module not                    running status.<DT><B>Returns:</B><DD>An array of TargetModuleID objects representing                   all deployed modules running or not or                   'null' if there are no deployed modules.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - is thrown when the method is                    called when running in disconnected mode.<DD><CODE><A HREF="../../../../javax/enterprise/deploy/spi/exceptions/TargetException.html" title="class in javax.enterprise.deploy.spi.exceptions">TargetException</A></CODE> - An invalid Target designator                   encountered.</DL></DD></DL><HR><A NAME="createConfiguration(javax.enterprise.deploy.model.DeployableObject)"><!-- --></A><H3>createConfiguration</H3><PRE>public <A HREF="../../../../javax/enterprise/deploy/spi/DeploymentConfiguration.html" title="interface in javax.enterprise.deploy.spi">DeploymentConfiguration</A> <B>createConfiguration</B>(<A HREF="../../../../javax/enterprise/deploy/model/DeployableObject.html" title="interface in javax.enterprise.deploy.model">DeployableObject</A>&nbsp;dObj)                                            throws <A HREF="../../../../javax/enterprise/deploy/spi/exceptions/InvalidModuleException.html" title="class in javax.enterprise.deploy.spi.exceptions">InvalidModuleException</A></PRE><DL><DD>Retrieve the object that provides server-specific deployment configuration information for the J2EE deployable component.<P>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?