org.apache.geronimo.console.cli
Class Deployer

java.lang.Object
  extended byorg.apache.geronimo.console.cli.Deployer

public class Deployer
extends Object

Initializes a command-line JSR-88 deployer.

Version:
$Revision: 1.10 $ $Date: 2004/07/16 04:39:41 $

Constructor Summary
Deployer()
          Creates a new instance using System.out and System.in to interact with the user.
Deployer(PrintWriter out, Reader in)
          Creates a new instance using the provided input/output streams to interact with the user.
 
Method Summary
static void main(String[] args)
          Entry point of a potential executable jar.
 void run()
          Enters the deployment user interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deployer

public Deployer()
         throws IllegalStateException,
                IllegalArgumentException
Creates a new instance using System.out and System.in to interact with the user. The user will need to begin by selecting an EJB JAR file to work with.


Deployer

public Deployer(PrintWriter out,
                Reader in)
         throws IllegalStateException,
                IllegalArgumentException
Creates a new instance using the provided input/output streams to interact with the user. The user will need to begin by selecting an EJB JAR file to work with.

Method Detail

main

public static void main(String[] args)
Entry point of a potential executable jar.

Parameters:
args - Array of file names. These files must be .jar files defining DeploymentFactories as per the JSR 88 requirements.

run

public void run()
Enters the deployment user interface. When this method returns, the user has finished their deployment activities.



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.