ing
This commit is contained in:
parent
5c82049f48
commit
a899f91968
|
@ -7,7 +7,6 @@ import javax.annotation.Resource;
|
|||
import com.loafle.overflow.container.Container;
|
||||
import com.loafle.overflow.core.annotation.RPCService;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.core.interfaces.Service;
|
||||
import com.loafle.overflow.crawler.Crawler;
|
||||
import com.loafle.overflow.model.sensorconfig.SensorConfig;
|
||||
import com.loafle.overflow.service.container.CrawlerService;
|
||||
|
@ -20,7 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||
* CrawlerService
|
||||
*/
|
||||
@RPCService("CrawlerService")
|
||||
public class ContainerCrawlerService implements Service, CrawlerService {
|
||||
public class ContainerCrawlerService implements CrawlerService {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ContainerCrawlerService.class);
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -2,14 +2,13 @@ package com.loafle.overflow.container.service;
|
|||
|
||||
import com.loafle.overflow.core.annotation.RPCService;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.core.interfaces.Service;
|
||||
import com.loafle.overflow.service.container.ProbeService;
|
||||
|
||||
/**
|
||||
* ProbeService
|
||||
*/
|
||||
@RPCService("ProbeService")
|
||||
public class ContainerProbeService implements Service, ProbeService {
|
||||
public class ContainerProbeService implements ProbeService {
|
||||
|
||||
@Override
|
||||
public void initService() throws Exception {
|
||||
|
|
|
@ -6,7 +6,6 @@ import java.util.Map;
|
|||
|
||||
import com.loafle.overflow.core.annotation.RPCService;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.core.interfaces.Service;
|
||||
import com.loafle.overflow.model.sensorconfig.SensorConfig;
|
||||
import com.loafle.overflow.service.container.SensorConfigService;
|
||||
|
||||
|
@ -17,7 +16,7 @@ import org.slf4j.LoggerFactory;
|
|||
* SensorConfigService
|
||||
*/
|
||||
@RPCService("SensorConfigService")
|
||||
public class ContainerSensorConfigService implements Service, SensorConfigService {
|
||||
public class ContainerSensorConfigService implements SensorConfigService {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ContainerSensorConfigService.class);
|
||||
|
||||
private Map<String, SensorConfig> sensorConfigs;
|
||||
|
|
|
@ -94,4 +94,4 @@ public class Service implements InitializingBean, ApplicationContextAware {
|
|||
}
|
||||
return name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user