SFRMPartnershipDSDVO¶
-
public class
SFRMPartnershipDSDVO
extends DataSourceDVO implements SFRMPartnershipDVO¶ The
SFRMPartnershipDSDVO
is a data value object representing a tabular row in the sfrm_partnership in the persistence layer. Creation Date: 27/9/2006 It possesses caching automatically for most frequently fields shown below:- partnership Id
- partnership endpoint
- maximum retry allowed
- retry interval
- X509 verfication / encryption cerfiticates
So developers do not need to worry the issue of thread contention and can freely call the get and set with no performance impact. Version 1.0.1 -
- Added cache for hot access field, it requires extra 17 bytes + 1 soft reference per
SFRMPartnershipDSDVO
object.
Author: Twinsen Tsang
Methods¶
getCreationTimestamp¶
getDescription¶
getEncryptX509Certificate¶
-
public X509Certificate
getEncryptX509Certificate
()¶ Get X509 certificate from trusted certificate store specified in SFRM properties
Throws: Returns: X509 certificate
getModifiedTimestamp¶
getOrgPartnerEndpoint¶
getPartnerCertFingerprint¶
getPartnerEndpoint¶
-
public String
getPartnerEndpoint
()¶ [@GET, THREAD-SAFETY] Get the sending endpoint of the partnership. The endpoint in the database stores only the address of receiver. For example, like http://127.0.0.1:8080/ or http://sfrm.partnership.com:8080/ But the endpoint returned here will concat a designated conext path = “corvus/httpd/sfrm/inbound”.
getPartnershipId¶
getPartnershipSeq¶
-
public int
getPartnershipSeq
()¶ [@GET, THREAD-SAFETY] Get the partnership sequence no from this partnership DVO.
getRetryInterval¶
-
public int
getRetryInterval
()¶ [@GET, NON-THREAD-SAFETY] Get the retry interval of this partnership DVO.
getRetryMax¶
-
public int
getRetryMax
()¶ [@GET, THREAD-SAFETY] Get the maximum retry allowed for this partnership DVO.
getVerifyX509Certificate¶
-
public X509Certificate
getVerifyX509Certificate
()¶ Get X509 certificate from trusted certificate store specified in SFRM properties
Throws: Returns: X509 certificate
isHostnameVerified¶
-
public boolean
isHostnameVerified
()¶ [@GET, THREAD-SAFETY] whether the partnership requires SSL hostname verified.
setCreationTimestamp¶
setDescription¶
setIsHostnameVerified¶
-
public void
setIsHostnameVerified
(boolean isHostnameVerified)¶ [@SET, THREAD-SAFETY] set whether the partnership requires SSL hostname verified.
setModifiedTimestamp¶
setPartnerCertFingerprint¶
setPartnerEndPoint¶
setPartnershipId¶
setPartnershipSeq¶
-
public void
setPartnershipSeq
(int partnershipSeq)¶ [@SET, THREAD-SAFETY] Set the partnership sequence
setRetryInterval¶
-
public void
setRetryInterval
(int retryInterval)¶ [@SET, THREAD-SAFETY] Set the retry interval of this partnership DVO.