Package com.avoka.fc.core.service.impl
Class TransactionHistoryPublisherImpl
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.AbstractGroovyService
-
- com.avoka.fc.core.service.impl.TransactionHistoryPublisherImpl
-
- All Implemented Interfaces:
IServiceDefinitionAware
,ITransactionHistoryPublisherService
,IUnitTestableService
public class TransactionHistoryPublisherImpl extends AbstractGroovyService implements ITransactionHistoryPublisherService
Provides a simple implementation of a Transaction History Publisher, delegating to a customizable Groovy script.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description TransactionHistoryPublisherImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorType()
void
publishTransactionHistory()
Perform bulk transaction history publishing.-
Methods inherited from class com.avoka.fc.core.service.AbstractGroovyService
createExceptionAndLog, executeGroovyScript, executeGroovyScript, getCause, getExecutionTimeout, getGroovyScript, getGroovyServiceLog, getServiceDefinition, getServiceName, getServiceNameAndVersion, getServiceTimeout, getTestLogOutput, isExceptionDebugLoggingEnabled, isGroovyDebugLogging, isGroovyLoggingEnabled, isGroovyTypeChecked, runUnitTest, setExceptionDebugLoggingEnabled, setExecutionTimeout, setGroovyDebugLogging, setGroovyLoggingEnabled, setGroovyScript, setGroovyTypeChecked, setServiceDefinition, setUseModuleClassLoader
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
getErrorType
public String getErrorType()
- Specified by:
getErrorType
in classAbstractGroovyService
- Returns:
- the service error type to be used to classify the error logging records
- Since:
- 4.3.4
-
publishTransactionHistory
public void publishTransactionHistory()
Perform bulk transaction history publishing.- Specified by:
publishTransactionHistory
in interfaceITransactionHistoryPublisherService
-
-