deploymentmanager.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 976 行 · 第 1/4 页

HTML
976 行
字号
 This operation is valid for TargetModuleIDs that represent a root module. A root TargetModuleID has no parent. A root TargetModuleID module and all its child modules will be redeployed. A child TargetModuleID module cannot be individually redeployed. The redeploy operation is complete only when this action for all the modules has completed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleIDList</CODE> - An array of designators of the applications                      to be updated.<DD><CODE>moduleArchive</CODE> - The input stream containing the application                      archive to be disrtibuted.<DD><CODE>deploymentPlan</CODE> - The input stream containing the runtime                       configuration information associated with                       this application archive.<DT><B>Returns:</B><DD>ProgressObject an object that tracks and reports the                       status of the redeploy operation.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/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="http://java.sun.com/j2se/1.5/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - this optional command         is not supported by this implementation.</DL></DD></DL><HR><A NAME="release()"><!-- --></A><H3>release</H3><PRE>void <B>release</B>()</PRE><DL><DD>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. The tool may be signaling it wants to run in a disconnected mode or it is planning to shutdown. When release is called the DeploymentManager may close any J2EE resource connections it had for deployment configuration and perform other related resource cleanup.  It should not accept any new operation requests (i.e., distribute, start stop, undeploy, redeploy.  It should finish any operations that are currently in process.  Each ProgressObject associated with a running operation should be marked as released (see the ProgressObject).<P><DD><DL></DL></DD></DL><HR><A NAME="getDefaultLocale()"><!-- --></A><H3>getDefaultLocale</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> <B>getDefaultLocale</B>()</PRE><DL><DD>Returns the default locale supported by this implementation of javax.enterprise.deploy.spi subpackages.<P><DD><DL><DT><B>Returns:</B><DD>Locale the default locale for this implementation.</DL></DD></DL><HR><A NAME="getCurrentLocale()"><!-- --></A><H3>getCurrentLocale</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> <B>getCurrentLocale</B>()</PRE><DL><DD>Returns the active locale this implementation of javax.enterprise.deploy.spi subpackages is running.<P><DD><DL><DT><B>Returns:</B><DD>Locale the active locale of this implementation.</DL></DD></DL><HR><A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>setLocale</H3><PRE>void <B>setLocale</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)               throws <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></PRE><DL><DD>Set the active locale for this implementation of javax.enterprise.deploy.spi subpackages to run.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - the provide locale is      not supported.</DL></DD></DL><HR><A NAME="getSupportedLocales()"><!-- --></A><H3>getSupportedLocales</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>[] <B>getSupportedLocales</B>()</PRE><DL><DD>Returns an array of supported locales for this implementation.<P><DD><DL><DT><B>Returns:</B><DD>Locale[] the list of supported locales.</DL></DD></DL><HR><A NAME="isLocaleSupported(java.util.Locale)"><!-- --></A><H3>isLocaleSupported</H3><PRE>boolean <B>isLocaleSupported</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</PRE><DL><DD>Reports if this implementation supports the designated locale.<P><DD><DL><DT><B>Returns:</B><DD>A value of 'true' means it is support and 'false' it is      not.</DL></DD></DL><HR><A NAME="getDConfigBeanVersion()"><!-- --></A><H3>getDConfigBeanVersion</H3><PRE><A HREF="../../../../javax/enterprise/deploy/shared/DConfigBeanVersionType.html" title="class in javax.enterprise.deploy.shared">DConfigBeanVersionType</A> <B>getDConfigBeanVersion</B>()</PRE><DL><DD>Returns the J2EE platform version number for which the configuration beans are provided.  The beans must have been compiled with the J2SE version required by the J2EE platform.<P><DD><DL><DT><B>Returns:</B><DD>a DConfigBeanVersionType object representing the platform version number for which these beans are provided.</DL></DD></DL><HR><A NAME="isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType)"><!-- --></A><H3>isDConfigBeanVersionSupported</H3><PRE>boolean <B>isDConfigBeanVersionSupported</B>(<A HREF="../../../../javax/enterprise/deploy/shared/DConfigBeanVersionType.html" title="class in javax.enterprise.deploy.shared">DConfigBeanVersionType</A>&nbsp;version)</PRE><DL><DD>Returns 'true' if the configuration beans support the J2EE platform version specified.  It returns 'false' if the version is not supported.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>version</CODE> - a DConfigBeanVersionType object representing the        J2EE platform version for which support is requested.<DT><B>Returns:</B><DD>'true' if the version is supported and 'false if not.</DL></DD></DL><HR><A NAME="setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType)"><!-- --></A><H3>setDConfigBeanVersion</H3><PRE>void <B>setDConfigBeanVersion</B>(<A HREF="../../../../javax/enterprise/deploy/shared/DConfigBeanVersionType.html" title="class in javax.enterprise.deploy.shared">DConfigBeanVersionType</A>&nbsp;version)                           throws <A HREF="../../../../javax/enterprise/deploy/spi/exceptions/DConfigBeanVersionUnsupportedException.html" title="class in javax.enterprise.deploy.spi.exceptions">DConfigBeanVersionUnsupportedException</A></PRE><DL><DD>Set the configuration beans to be used to the J2EE platform version specificed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>version</CODE> - a DConfigBeanVersionType object representing the J2EE platform version for which support is requested.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../javax/enterprise/deploy/spi/exceptions/DConfigBeanVersionUnsupportedException.html" title="class in javax.enterprise.deploy.spi.exceptions">DConfigBeanVersionUnsupportedException</A></CODE> - when the        requested bean version is not supported.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/DeploymentConfiguration.html" title="interface in javax.enterprise.deploy.spi"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/enterprise/deploy/spi/Target.html" title="interface in javax.enterprise.deploy.spi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?javax/enterprise/deploy/spi/DeploymentManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DeploymentManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

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