package iot.core.service.device.binding.spring;

import org.iotbricks.service.device.registry.api.DeviceRegistryService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import iot.core.service.device.binding.DeviceRegistryBinding;
import iot.core.service.device.spring.DeviceRegistryConfiguration;

@Configuration
@Import(DeviceRegistryConfiguration.class)
public class DeviceRegistryBindingConfiguration {

    @Bean(initMethod = "start")
    public DeviceRegistryBinding deviceRegistryBinding(DeviceRegistryService deviceRegistryService) {
        return new DeviceRegistryBinding(deviceRegistryService);
    }

}
package iot.core.service.device.binding.spring;

import org.iotbricks.service.device.registry.api.DeviceRegistryService;
import org.iotbricks.service.device.registry.spi.spring.DeviceRegistryServiceSpiConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import iot.core.service.device.binding.DeviceRegistryBinding;

@Configuration
@Import(DeviceRegistryServiceSpiConfiguration.class)
public class DeviceRegistryBindingConfiguration {

    @Bean(initMethod = "start")
    public DeviceRegistryBinding deviceRegistryBinding(DeviceRegistryService deviceRegistryService) {
        return new DeviceRegistryBinding(deviceRegistryService);
    }

}
Fix package import