com.softslate.commerce.businessobjects.core
Class CommandLineSupport

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.CommandLineSupport
Direct Known Subclasses:
CommandLineExample, CommandLineReindexLucene

public abstract class CommandLineSupport
extends java.lang.Object

An abstract useful for subclassing by classes that need to be invoked from the command line. A method for initializing all of the system objects needed to perform queries and invoke business objects is provided. See the accompanying CommandLineExample for an example of a subclass which may be invoked from the command line, and commandLineExample.sh for a Unix shell script that may be used to fire off the example.

Author:
dtobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
CommandLineSupport()
           
 
Method Summary
static java.util.Map initializeSystem(java.lang.String adminUserName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

CommandLineSupport

public CommandLineSupport()
Method Detail

initializeSystem

public static java.util.Map initializeSystem(java.lang.String adminUserName)


Copyright © SoftSlate, LLC 2003–2005