Class TempPersister
- java.lang.Object
-
- network.oxalis.ng.commons.persist.TempPersister
-
- All Implemented Interfaces:
ExceptionPersister,PayloadPersister,PersisterHandler,ReceiptPersister
@Singleton public class TempPersister extends Object implements PersisterHandler
- Since:
- 4.0.0
- Author:
- erlend
-
-
Constructor Summary
Constructors Constructor Description TempPersister(EvidenceFactory evidenceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpersist(InboundMetadata inboundMetadata, Path payloadPath)Pathpersist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, InputStream inputStream)voidpersist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, Path payloadPath, Exception exception)
-
-
-
Constructor Detail
-
TempPersister
@Inject public TempPersister(EvidenceFactory evidenceFactory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
persist
public Path persist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, InputStream inputStream) throws IOException
- Specified by:
persistin interfacePayloadPersister- Throws:
IOException
-
persist
public void persist(InboundMetadata inboundMetadata, Path payloadPath) throws IOException
- Specified by:
persistin interfaceReceiptPersister- Throws:
IOException
-
persist
public void persist(TransmissionIdentifier transmissionIdentifier, network.oxalis.vefa.peppol.common.model.Header header, Path payloadPath, Exception exception)
- Specified by:
persistin interfaceExceptionPersister- Specified by:
persistin interfacePersisterHandler- Since:
- 4.0.3
-
-