- public OlmProvider(final DataBroker dataBroker, final MountPointService mountPointService,
- final RpcProviderRegistry rpcProviderRegistry) {
- this.dataBroker = dataBroker;
- this.mountPointService = mountPointService;
- this.rpcProviderRegistry = rpcProviderRegistry;
- if (mountPointService == null) {
- LOG.error("Mount service is null");
- }
+ public OlmProvider(final RpcProviderService rpcProviderService, final OlmPowerService olmPowerService) {
+ this.rpcProviderService = rpcProviderService;
+ this.olmPowerService = olmPowerService;