MdsOsgiBundleApplicationContextListener

public class MdsOsgiBundleApplicationContextListener implements OsgiBundleApplicationContextListener

The MdsOsgiBundleApplicationContextListener acts as an listener for Blueprint events to get notified about modules being started or failing. When the module failing then it will be automatically restarted.

Fields

LEVEL_KEY

public static final String LEVEL_KEY

MESSAGE_KEY

public static final String MESSAGE_KEY

MESSAGE_SUBJECT

public static final String MESSAGE_SUBJECT

MODULE_NAME_KEY

public static final String MODULE_NAME_KEY

TIMEOUT_EXCEPTION_MESSAGE

public static final String TIMEOUT_EXCEPTION_MESSAGE

Methods

clearBundlesSet

public void clearBundlesSet()

getRestartedBundles

public Set<String> getRestartedBundles()

onOsgiApplicationEvent

public void onOsgiApplicationEvent(OsgiBundleApplicationContextEvent event)

setAllBundleFailureReports

public void setAllBundleFailureReports(AllBundleFailureReports allBundleFailureReports)

setOsgiEventProxy

public void setOsgiEventProxy(OsgiEventProxy osgiEventProxy)

setSettingsService

public void setSettingsService(SettingsService settingsService)

setTransactionManager

public void setTransactionManager(JdoTransactionManager transactionManager)