org.openejb.alt.config
Class AutoDeployer
java.lang.Object
org.openejb.alt.config.AutoDeployer
public class AutoDeployer
- 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoDeployer
public AutoDeployer(Openejb config)
init
public void init()
throws OpenEJBException
- Throws:
OpenEJBException
deploy
public OpenejbJar deploy(EjbJarUtils ejbJarUtils,
java.lang.String jarLocation,
java.lang.ClassLoader classLoader)
throws OpenEJBException
- Throws:
OpenEJBException
Copyright © 1999-2011 OpenEJB. All Rights Reserved.