Class SdcDevicePluginProcessor
-
- All Implemented Interfaces:
public class SdcDevicePluginProcessorProcesses all org.somda.sdc.glue.provider.SdcDevicePlugin instances passed to an org.somda.sdc.glue.provider.SdcDevice.
-
-
Constructor Summary
Constructors Constructor Description SdcDevicePluginProcessor(Collection<SdcDevicePlugin> devicePlugins, SdcDeviceContext context)Creates a processor with given dependencies.
-
Method Summary
Modifier and Type Method Description voidbeforeStartUp()Triggers beforeStartUp for all plugins. voidafterStartUp()Triggers afterStartUp for all plugins. voidbeforeShutDown()Triggers beforeShutDown (SdcDeviceContext)} for all plugins. voidafterShutDown()Triggers afterShutDown for all plugins. -
-
Constructor Detail
-
SdcDevicePluginProcessor
SdcDevicePluginProcessor(Collection<SdcDevicePlugin> devicePlugins, SdcDeviceContext context)
Creates a processor with given dependencies.- Parameters:
devicePlugins- the actual plugins to process once a specific processing step is called.context- the context data passed to each SdcDevicePlugin callback.
-
-
Method Detail
-
beforeStartUp
void beforeStartUp()
Triggers beforeStartUp for all plugins.
-
afterStartUp
void afterStartUp()
Triggers afterStartUp for all plugins.
-
beforeShutDown
void beforeShutDown()
Triggers beforeShutDown (SdcDeviceContext)} for all plugins.
All plugins are executed no matter of any thrown exceptions during processing.
-
afterShutDown
void afterShutDown()
Triggers afterShutDown for all plugins.
All plugins are executed no matter of any thrown exceptions during processing.
-
-
-
-