@Service(value="documentService") public class DhxPackageServiceImpl extends java.lang.Object implements DhxPackageService
Constructor and Description |
---|
DhxPackageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ee.ria.dhx.types.eu.x_road.dhx.producer.SendDocumentResponse |
receiveDocumentFromEndpoint(ee.ria.dhx.types.eu.x_road.dhx.producer.SendDocument document,
ee.ria.dhx.types.InternalXroadMember client,
ee.ria.dhx.types.InternalXroadMember service,
org.springframework.ws.context.MessageContext context)
Method is used by endpoint.
|
java.util.List<ee.ria.dhx.types.DhxSendDocumentResult> |
sendMultiplePackages(java.util.List<ee.ria.dhx.types.OutgoingDhxPackage> packages)
Send document.
|
ee.ria.dhx.types.DhxSendDocumentResult |
sendPackage(ee.ria.dhx.types.OutgoingDhxPackage outgoingPackage)
Send package.
|
void |
setAddressService(AddressService addressService)
Sets the addressService.
|
void |
setCapsuleConfig(CapsuleConfig capsuleConfig)
Sets the capsuleConfig.
|
void |
setConfig(DhxConfig config)
Sets the config.
|
void |
setDhxImplementationSpecificService(DhxImplementationSpecificService dhxImplementationSpecificService)
Sets the dhxImplementationSpecificService.
|
void |
setDhxMarshallerService(DhxMarshallerService dhxMarshallerService)
Sets the dhxMarshallerService.
|
void |
setDocumentGateway(DhxGateway documentGateway)
Sets the documentGateway.
|
void |
setSoapConfig(SoapConfig soapConfig)
Sets the soapConfig.
|
@Loggable public ee.ria.dhx.types.eu.x_road.dhx.producer.SendDocumentResponse receiveDocumentFromEndpoint(ee.ria.dhx.types.eu.x_road.dhx.producer.SendDocument document, ee.ria.dhx.types.InternalXroadMember client, ee.ria.dhx.types.InternalXroadMember service, org.springframework.ws.context.MessageContext context) throws ee.ria.dhx.exception.DhxException
receiveDocumentFromEndpoint
in interface DhxPackageService
document
- - service iniput parameters. document to receiveclient
- - SOAP message client(who sent the request).service
- - SOAP message service(to whom was request sent).context
- - SOAP message context. If something is missing in parsed objects, then take
them from contextee.ria.dhx.exception.DhxException
- - thrown if error occurs while receiving document@Loggable public ee.ria.dhx.types.DhxSendDocumentResult sendPackage(ee.ria.dhx.types.OutgoingDhxPackage outgoingPackage) throws ee.ria.dhx.exception.DhxException
DhxPackageService
sendPackage
in interface DhxPackageService
outgoingPackage
- - package to sendee.ria.dhx.exception.DhxException
- - thrown if error occurs while sending document@Loggable public java.util.List<ee.ria.dhx.types.DhxSendDocumentResult> sendMultiplePackages(java.util.List<ee.ria.dhx.types.OutgoingDhxPackage> packages)
DhxPackageService
sendMultiplePackages
in interface DhxPackageService
packages
- - package to sendpublic void setConfig(DhxConfig config)
config
- the config to setpublic void setSoapConfig(SoapConfig soapConfig)
soapConfig
- the soapConfig to setpublic void setCapsuleConfig(CapsuleConfig capsuleConfig)
capsuleConfig
- the capsuleConfig to setpublic void setAddressService(AddressService addressService)
addressService
- the addressService to setpublic void setDocumentGateway(DhxGateway documentGateway)
documentGateway
- the documentGateway to setpublic void setDhxMarshallerService(DhxMarshallerService dhxMarshallerService)
dhxMarshallerService
- the dhxMarshallerService to setpublic void setDhxImplementationSpecificService(DhxImplementationSpecificService dhxImplementationSpecificService)
dhxImplementationSpecificService
- the dhxImplementationSpecificService to set