public class ChecksumDeliveredCommand extends AbstractBaseFileTransferTransactionalResourceCommand
CURRENT_DIRECTORY, EOL, fileSeparator, listenersCOMMIT_IN_PROGRESS, COMPLETED_COMMITTING, EXECUTED_STATE, EXECUTION_IN_PROGRESS, executionContext, INITIALISED_STATE, ROLLBACK_IN_PROGRESS, ROLLED_BACK_STATE, transactionalResource| Constructor and Description |
|---|
ChecksumDeliveredCommand()
Constructor
TODO Check that we should actually be calling super as that reloads state
to be initial and we might not want that on reload of command from DB
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCommit() |
protected void |
doRollback() |
static String |
getChecksum(byte[] input)
Get the MD5 checksum given an ImputStream
|
protected ExecutionOutput |
performExecute()
execute method for subclasses to implement
|
addListener, changeDirectory, deleteDir, deleteFile, doExecute, findFile, getClient, getContentAsStream, getFile, getFile, listDirectory, logFileList, notifyListeners, printWorkingDirectoryName, putFile, putWithOutputStream, renameFilecommit, execute, getBeanFactory, getExecutionTimestamp, getId, getState, getXid, rollback, setBeanFactory, setExecutionContext, setTransactionalResource, setTransactionJournal, setXidpublic ChecksumDeliveredCommand()
protected void doCommit()
doCommit in class AbstractTransactionalResourceCommandprotected ExecutionOutput performExecute() throws javax.resource.ResourceException
AbstractBaseFileTransferTransactionalResourceCommandperformExecute in class AbstractBaseFileTransferTransactionalResourceCommandjavax.resource.ResourceException - -protected void doRollback()
doRollback in class AbstractTransactionalResourceCommandpublic static String getChecksum(byte[] input)
byte - array for which to calculate the checksumString representing the checksumCopyright © 2007-2017 Ikasan. All Rights Reserved.