com.softslate.commerce.businessobjects.core
Class CommandLineExample
java.lang.Object
com.softslate.commerce.businessobjects.core.CommandLineSupport
com.softslate.commerce.businessobjects.core.CommandLineExample
public class CommandLineExample
- extends CommandLineSupport
An example of a class which may be run from the command line to execute
processing within the system. See the accompanying
commandLineExample.sh
file for a Unix shell script that may be
used to fire off the example.
This example uses the CommandLineSupport
class to initialize
all of the system objects such as the BusinessObjectFactory
and the DAOFactory
. It then executes a query for the number
of recent orders (same query that is displayed on the welcome screen of the
Administrator) and outputs the results, as an example of how to access the
system.
- Author:
- dtobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
Method Summary |
static void |
main(java.lang.String[] args)
Main method, which gets invoked when executing this class from the
command line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
CommandLineExample
public CommandLineExample()
main
public static void main(java.lang.String[] args)
- Main method, which gets invoked when executing this class from the
command line.
- Parameters:
args
-
Copyright © SoftSlate, LLC 20032005