Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\utilities\oracle\ant\taskdefs\deploy\Usage.class
?? 0 ? ) P ( Q ( R S ( T ( U ( V W X Y P Z [ \ ] ^ _ ` a b c d e f g P h i j k l m n o p q r s t u v _usages Ljava/util/Hashtable; _taskName Ljava/lang/String; <init> ()V Code LineNumberTable LocalVariableTable this "Loracle/ant/taskdefs/deploy/Usage; execute Exceptions w getUsage &(Ljava/lang/String;)Ljava/lang/String; command result getTaskName ()Ljava/lang/String; setTaskName (Ljava/lang/String;)V taskName <clinit> _deployMsg _redeployMsg _undeployMsg _bindwebappMsg _bindallwebappsMsg _startMsg _stopMsg _updateejbmoduleMsg _installsharedlibraryMsg _usageMsg _validUriMsg _allMsg SourceFile Usage.java . / , - 8 / all 8 9 x ? * + y z java/lang/String java/util/Hashtable i <deploy> Description: (Re)deploys an EAR, WAR, RAR or EJB JAR file. Parameters: Attribute Type Required Description ---------- ---- -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. file String yes - The file path of the archive to be deployed. deploymentName String yes - The name to assign to the deployed application. targetPath String no - The directory to deploy the archive to. Default is the application -directory defined in server.xml. parent String no - The name of the archive's parent application. If omitted, sets the 'default' application as the parent. deploymentDirectory String no - The directory containing the OC4J- specific deployment descriptors and generated files. Default is the deployment-directory in server.xml. enableIIOP boolean no - Enable interoperability (IIOP) for the application deployed. iiopClientJar String no - The client path to place the IIOP client stubs for EJBs. nativeLibPath String no - Used for standalone RAR file deployment only. The path to the native libraries within the RAR. grantAllPermissions boolean no - Used for standalone RAR file deployment only. Grant all runtime permissions. contextRoot String no - Used for standalone WAR file deployment only. The context root for the Web module. If omitted, the -deploymentName value is used. sequential boolean no - Deploy the archive to each OC4J instance within the cluster in sequence. If not included, the archive is stimultaneously deployed to all instances. bindAllWebApps String no - Binds all WAR files within the EAR to specified Web site. deploymentPlan String no - Local deployment plan to config the app when it is deployed. : <redeploy> Description: Redeploys an application, standalone WAR or standalone RAR. Parameters: Attribute Type Required Description ---------- ------ -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The deployed application name. file String yes - The file path of the archive to be redeployed. bindAllWebApps String no - Binds all WAR files within the EAR to specified Web site. keepsettings boolean no - Retain current settings the application has on the server. sequential boolean no - Deploy the archive to each OC4J instance within the cluster in sequence. If not included, the archive is simultaneously deployed to all instances. <undeploy> Description: Undeploys an application, standalone WAR or standalone RAR. Parameters: Attribute Type Required Description ---------- ------ -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The deployed application name. isConnector boolea no - For undeploying a standalone RAR. n <bindWebApp> Description: Binds the specified WAR to a specified web site and/or context root. Parameters: Attribute Type Required Description ---------- ------ -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String no - The application's name. webmodule String no - The Web module name. webSiteName String no - The website name. If omitted, defaults to 'default-web-site'. contextRoot String no - Context root for the WAR file. If omitted, the context root in the parent application's application.xml is used. F <bindAllWebApps> Description: Binds all WAR files within the EAR to the specified web site. Parameters: Attribute Type Required Description ---------- ------ -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The application's name. webSiteName String no - The website name. If omitted, defaults to 'default-web-site'. ? <start> Description: Starts the specified application and its child application(s). Parameters: Attribute Type Required Description ---------- ----- -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The application name. ? <stop> Description: Stops the specified application and its child application(s). Parameters: Attribute Type Required Description ---------- ----- -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The application name. ? <updateEJBModule> Description: Replaces an existing EJB module with a new EJB JAR. in the specified application. Parameters: Attribute Type Required Description ---------- ---- -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password. deploymentName String yes - The application name. moduleName String yes - The name of the EJB JAR as defined in application.xml. file String yes - The path of the new EJB JAR. ? <installSharedLibrary> Description: Installs a new shared library in the OC4J instance(s). Parameters: Attribute Type Required Description ---------- ----- -------- ---------------------- deployerUri String yes - The uri to connect to OC4J. userid String yes - OC4J administrator user. password String yes - OC4J administrator user password libraryName String yes - The name of the shared library. version String yes - The version of the shared library. uploadCodeSource task yes - Nested task. Uploads multiple jar/zip files. Attribute: codeSources String yes - The jar/zip file to include in the library. ? <usage> - Displays this JSR88 ant tasks usage or detailed task usage when specify a taskName attribute, e.g. <oracle:usage taskName="deploy"/> Valid deployerUri are: 1. To target all OC4J instances in an Oracle Application Server Cluster: deployer:cluster:opmn://opmnHost[:opmnPort]/oc4jInstanceName 2. To target a specific OC4J instance within a cluster: deployer:oc4j:opmn://opmnHost[:opmnPort]/oc4jInstanceName deployer:oc4j:opmn://opmnHost[:opmnPort]/asInstanceName/oc4jInstanceName 3. To target a standalone OC4J server: deployer:oc4j:oc4jHost:rmiPort opmnPort is the OPMN request port specified in opmn.xml. If omitted, defaults to 6003. ? The tasks: <deploy>: - Deploys an EAR, WAR, RAR or EJB JAR file. <redeploy>: - Redeploys an EAR, WAR, RAR or EJB JAR file. <undeploy>: - Undeploys an application, standalone WAR or standalone RAR. <bindWebApp>: - Binds the specified WAR to a specified web site and/or context root. <bindAllWebApps>: - Binds all WAR files within the EAR to the specified web site. <start>: - Starts the specified application and its child application(s). <stop>: - Stops the specified application and its child application(s). <installSharedLibrary>:- Installs a new shared library in the OC4J instance(s). <updateEJBModule>: - Replaces an existing EJB module with a new EJB JAR. deploy java/lang/StringBuffer { | } = ~ redeploy undeploy bindWebApp bindAllWebApps start stop updateEJBModule installSharedLibrary usage validUri oracle/ant/taskdefs/deploy/Usage (oracle/ant/taskdefs/deploy/JSR88BaseTask #org/apache/tools/ant/BuildException log get &(Ljava/lang/Object;)Ljava/lang/Object; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ! ( ) * + , - . / 0 8 *? *? ? 1 % ( 2 3 4 5 / 0 3 *? ? 1 "