org.openejb.alt.config
Class Deploy

java.lang.Object
  |
  +--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.


Inner Class Summary
(package private) static interface Deploy.Bean
           
(package private)  class Deploy.EntityBean
           
(package private)  class Deploy.SessionBean
           
 
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
 

Constructor Detail

Deploy

public Deploy()
       throws OpenEJBException
Method Detail

init

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

main

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