org.openejb.alt.config
Class Deploy

java.lang.Object
  extended by org.openejb.alt.config.Deploy

public class Deploy
extends java.lang.Object

This class represents a command line tool for deploying beans. At the moment it contains multiple println statements and statements that read input from the user. These statements are really in chunks in specific times throughout the class. These chunks could be refactored into methods. Then the implementation of those methods could actually be delegated to another class that implements a specific interface we create. The command line statements could be moved into an implementation of this new interface. We could then create another implementation that gathers information from a GUI. This would give us a Deploy API rather than just a command line tool. Then beans could be deployed programmatically by another application, by a GUI screen, or by command line. Note: The command line version should be finished first!!! We don't want to start on a crusade of abstracting code that doesn't yet exist. Functionality first, neat flexible stuff later.

Author:
David Blevins

Field Summary
protected static Messages _messages
           
 
Constructor Summary
Deploy()
           
 
Method Summary
 void init(java.lang.String openejbConfigFile)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_messages

protected static final Messages _messages
Constructor Detail

Deploy

public Deploy()
       throws OpenEJBException
Throws:
OpenEJBException
Method Detail

init

public void init(java.lang.String openejbConfigFile)
          throws OpenEJBException
Throws:
OpenEJBException

main

public static void main(java.lang.String[] args)


Copyright © 1999-2011 OpenEJB. All Rights Reserved.