public class ProcessRunner
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ProcessRunner() |
Modifier and Type | Method and Description |
---|---|
protected void | beginTransaction()
Begins a new transaction scope.
|
protected void | commitTransaction()
Commits the current transaction scope.
|
boolean | completed()
Returns this process completion status.
|
protected CommandContext | getCommandContext()
Gets the store ID
|
protected java.lang.Object | getDataHandle()
Gets the handle for the data to be processed.
|
protected java.lang.String | getErrorTaskName()
Returns this process's error task name.
|
java.lang.Object | getException()
Returns the exception generated by this process.
|
protected void | rollbackTransaction()
Rolls back the current transaction changes.
|
void | run()
Create and execute the specified task command to process the Auctions/Bids
|
void | setCommandContext(CommandContext context)
Sets the context for the command to be executed when this process runs.
|
void | setCommandName(java.lang.String commandName)
Sets the fully qualified name of the command to be executed.
|
void | setDataHandle(java.lang.Object handle)
Sets the handle for the data.
|
void | setErrorTaskName(java.lang.String errorTaskName)
Sets this process's error task name
|
protected void | setException(java.lang.Object exception)
Saves the exception generated by this process.
|
public static final java.lang.String COPYRIGHT
protected void beginTransaction() throws ECSystemException
protected void commitTransaction() throws javax.transaction.RollbackException, ECSystemException
public boolean completed()
protected CommandContext getCommandContext()
protected java.lang.Object getDataHandle()
protected java.lang.String getErrorTaskName()
public java.lang.Object getException()
protected void rollbackTransaction()
public void run()
public void setCommandContext(CommandContext context)
public void setCommandName(java.lang.String commandName)
public void setDataHandle(java.lang.Object handle)
public void setErrorTaskName(java.lang.String errorTaskName)
protected void setException(java.lang.Object exception)