Class PhantomJSRenderReceiptServiceV2
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.CayenneService
com.avoka.fc.core.service.AbstractRenderReceiptService
com.avoka.fc.core.service.LocalProcessRenderReceiptService
com.avoka.fc.core.service.phantomjs.PhantomJSRenderReceiptServiceV2
- All Implemented Interfaces:
IRenderReceiptService
,IServiceDefinitionAware
Provides version 2 of the PhantomJS PDF Receipt Rendering service.
- Since:
- 17.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.avoka.fc.core.service.LocalProcessRenderReceiptService
LocalProcessRenderReceiptService.ProcessParams
-
Field Summary
Fields inherited from class com.avoka.fc.core.service.LocalProcessRenderReceiptService
fallbackTimeout, receiptPropertiesJson, subfolder
Fields inherited from class com.avoka.fc.core.service.AbstractRenderReceiptService
CONTENT_TYPE_PDF
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Semaphore
protected String
protected boolean
populateProcessParams
(LocalProcessRenderReceiptService.ProcessParams params, String workDir) void
setPhantomJsExe
(String value) Set the PhantomJS executable filename, without the Windows .exe file extension.Methods inherited from class com.avoka.fc.core.service.LocalProcessRenderReceiptService
appendContextDebugInfo, getFallbackTimeout, getReceiptDocument, getReceiptPropertiesJson, rasterize, requiresLiveCycle, setFallbackTimeout, setReceiptPropertiesJson
Methods inherited from class com.avoka.fc.core.service.AbstractRenderReceiptService
getMaxProcesses, getServiceDefinition, renderReceipt, renderReceipt, setMaxProcesses, setServiceDefinition, setTestMode, updateReceiptMode, updateReceiptMode
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Field Details
-
DEFAULT_SERVICE_NAME
The default service definition name.- See Also:
-
-
Constructor Details
-
PhantomJSRenderReceiptServiceV2
public PhantomJSRenderReceiptServiceV2()
-
-
Method Details
-
setPhantomJsExe
Set the PhantomJS executable filename, without the Windows .exe file extension.- Parameters:
value
- the PhantomJS executable file
-
isDeleteFiles
protected boolean isDeleteFiles()- Specified by:
isDeleteFiles
in classLocalProcessRenderReceiptService
-
getMaxProcessesSemphore
- Specified by:
getMaxProcessesSemphore
in classLocalProcessRenderReceiptService
-
getReceiptSubdirectory
- Specified by:
getReceiptSubdirectory
in classLocalProcessRenderReceiptService
-
populateProcessParams
protected LocalProcessRenderReceiptService.ProcessParams populateProcessParams(LocalProcessRenderReceiptService.ProcessParams params, String workDir) - Specified by:
populateProcessParams
in classLocalProcessRenderReceiptService
-