ContentDistributionServiceImpl¶
-
public class
ContentDistributionServiceImplimplements ContentDistributionService¶ Default implementation of
org.motechproject.hub.service.ContentDistributionService
Constructors¶
ContentDistributionServiceImpl¶
-
public
ContentDistributionServiceImpl(HubTopicMDSService hubTopicService, HubSubscriptionMDSService hubSubscriptionMDSService, HubPublisherTransactionMDSService hubPublisherTransactionMDSService, HubSubscriberTransactionMDSService hubSubscriberTransactionMDSService, HubDistributionContentMDSService hubDistributionContentMDSService)¶ Creates a new instance of
ContentDistributionServiceImpl, with all fields set to the autowired parameters values.Parameters: - hubTopicService – autowired
org.motechproject.hub.mds.service.HubTopicMDSService - hubSubscriptionMDSService – autowired
org.motechproject.hub.mds.service.HubSubscriberTransactionMDSService - hubPublisherTransactionMDSService – autowired
org.motechproject.hub.mds.service.HubPublisherTransactionMDSService - hubSubscriberTransactionMDSService – autowired
org.motechproject.hub.mds.service.HubSubscriberTransactionMDSService - hubDistributionContentMDSService – autowired
org.motechproject.hub.mds.service.HubDistributionContentMDSService
- hubTopicService – autowired
Methods¶
getDistributionServiceDelegate¶
-
public DistributionServiceDelegate
getDistributionServiceDelegate()¶ Gets
DistributionServiceDelegateused for this class to fetching and distributing fetched content to all interested subscribers.Returns: the DistributionServiceDelegateobject
setDistributionServiceDelegate¶
-
public void
setDistributionServiceDelegate(DistributionServiceDelegate distributionServiceDelegate)¶ Sets
DistributionServiceDelegateto the value passed in a parameter. It’s used for fetching and distributing fetched content to all interested subscribers.Parameters: - distributionServiceDelegate –
DistributionServiceDelegateto be set
- distributionServiceDelegate –