@Configuration
public class DhxConfig
extends java.lang.Object
Constructor and Description |
---|
DhxConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAcceptedDhxProtocolVersions()
Returns the list of DHX protocol versions that are accepted by this implementation, separated
by comma.
|
java.lang.Boolean |
getCapsuleValidate()
by default true.
|
java.lang.Boolean |
getCheckDhxVersion()
by default true.
|
java.lang.Boolean |
getCheckDuplicate()
by default true.
|
java.lang.Boolean |
getCheckRecipient()
by default true.
|
java.lang.Boolean |
getCheckSender()
by default true.
|
java.lang.String |
getDocumentResendTemplate()
documentResendTemplate represents how many times and with how big timeouts document will be
resent.
|
java.util.List<java.lang.Integer> |
getDocumentResendTimes()
Method return marshalling context as list.
|
javax.xml.bind.JAXBContext |
getJaxbContext()
Sets marshaller bean.
|
java.lang.String |
getMarshallContext()
by default
ee.ria.dhx.types.ee.riik.schemas.deccontainer.vers_2_1:ee.ria.dhx.types.eu.x_road.dhx.producer:
ee
.ria.dhx.types.eu.x_road.xsd.identifiers:ee.ria.dhx.types.eu.x_road.xsd.representation:ee.ria.
|
java.lang.String[] |
getMarshallContextAsList()
Method return marshalling context as list.
|
java.lang.Boolean |
getParseCapsule()
by default true.
|
java.lang.String |
getProtocolVersion()
by default 1.0.
|
java.lang.Boolean |
getRenewAddresslistOnStartup()
by default true.
|
java.lang.String |
getWsdlFile()
by default dhx.wsdl.
|
void |
setAcceptedDhxProtocolVersions(java.lang.String acceptedDhxProtocolVersions)
Sets the list of DHX protocol versions that are accepted by this implementation, separated by
comma.
|
void |
setCapsuleValidate(java.lang.Boolean capsuleValidate)
by default true.
|
void |
setCheckDhxVersion(java.lang.Boolean checkDhxVersion)
by default true.
|
void |
setCheckDuplicate(java.lang.Boolean checkDuplicate)
by default true.
|
void |
setCheckRecipient(java.lang.Boolean checkRecipient)
by default true.
|
void |
setCheckSender(java.lang.Boolean checkSender)
by default true.
|
void |
setDocumentResendTemplate(java.lang.String documentResendTemplate)
documentResendTemplate represents how many times and with how big timeouts document will be
resent.
|
void |
setMarshallContext(java.lang.String marshallContext)
by default
ee.ria.dhx.types.ee.riik.schemas.deccontainer.vers_2_1:ee.ria.dhx.types.eu.x_road.dhx.producer:
ee
.ria.dhx.types.eu.x_road.xsd.identifiers:ee.ria.dhx.types.eu.x_road.xsd.representation:ee.ria.
|
void |
setParseCapsule(java.lang.Boolean parseCapsule)
by default true.
|
void |
setProtocolVersion(java.lang.String protocolVersion)
by default 1.0.
|
void |
setRenewAddresslistOnStartup(java.lang.Boolean renewAddresslistOnStartup)
by default true.
|
void |
setWsdlFile(java.lang.String wsdlFile)
by default dhx.wsdl.
|
public java.lang.String[] getMarshallContextAsList()
public java.util.List<java.lang.Integer> getDocumentResendTimes()
public java.lang.String getAcceptedDhxProtocolVersions()
@Bean public javax.xml.bind.JAXBContext getJaxbContext() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
- - thrown if error occurspublic java.lang.Boolean getCapsuleValidate()
public void setCapsuleValidate(java.lang.Boolean capsuleValidate)
capsuleValidate
- does capsule needs validation against xsdpublic java.lang.Boolean getCheckRecipient()
public void setCheckRecipient(java.lang.Boolean checkRecipient)
checkRecipient
- is recipient check neededpublic java.lang.Boolean getCheckSender()
public void setCheckSender(java.lang.Boolean checkSender)
checkSender
- is sender check neededpublic java.lang.Boolean getCheckDuplicate()
public void setCheckDuplicate(java.lang.Boolean checkDuplicate)
checkDuplicate
- is check for duplicate documents neededpublic java.lang.Boolean getParseCapsule()
public void setParseCapsule(java.lang.Boolean parseCapsule)
parseCapsule
- is capsule parsing needed when receiving documentpublic java.lang.String getDocumentResendTemplate()
public void setDocumentResendTemplate(java.lang.String documentResendTemplate)
documentResendTemplate
- the documentResendTemplate to setpublic java.lang.String getWsdlFile()
public void setWsdlFile(java.lang.String wsdlFile)
wsdlFile
- the name of the wsdl file in classpath to set.public java.lang.String getProtocolVersion()
public void setProtocolVersion(java.lang.String protocolVersion)
protocolVersion
- the currently implemented DHX protocol version to setpublic java.lang.Boolean getCheckDhxVersion()
public void setCheckDhxVersion(java.lang.Boolean checkDhxVersion)
checkDhxVersion
- is protocol version check of the document sender enabled.public java.lang.String getMarshallContext()
public void setMarshallContext(java.lang.String marshallContext)
marshallContext
- the packages used for marshalling and unmarshalling, separated by colonpublic java.lang.Boolean getRenewAddresslistOnStartup()
public void setRenewAddresslistOnStartup(java.lang.Boolean renewAddresslistOnStartup)
renewAddresslistOnStartup
- is address list needs to be renewed on startuppublic void setAcceptedDhxProtocolVersions(java.lang.String acceptedDhxProtocolVersions)
acceptedDhxProtocolVersions
- the list of DHX protocol versions that are accepted by this
implementation, separated by comma