MdsBundleRegenerationServiceImpl

public class MdsBundleRegenerationServiceImpl implements MdsBundleRegenerationService, EventHandler

Default implementation of the MdsBundleRegenerationService interface. It uses the org.motechproject.mds.service.JarGeneratorService to perform the MDS Entities Bundle regeneration and messages broadcasting for communication with other Motech instances. This class uses OsgiEventProxy to proxy Motech events though OSGi events, in order to avoid a dependency on the event module.

See also: org.motechproject.mds.service.JarGeneratorService

Methods

handleEvent

public void handleEvent(Event event)

regenerateMdsDataBundle

public void regenerateMdsDataBundle()

regenerateMdsDataBundleAfterDdeEnhancement

public void regenerateMdsDataBundleAfterDdeEnhancement(String... moduleNames)

setEntityService

public void setEntityService(EntityService entityService)

setJarGeneratorService

public void setJarGeneratorService(JarGeneratorService jarGeneratorService)

setOsgiEventProxy

public void setOsgiEventProxy(OsgiEventProxy osgiEventProxy)