AbstractComponent -> AbstractBean

master
mjkhan21 6 months ago
parent a701d60e61
commit 5c5d869bb6

@ -2,7 +2,7 @@ package cokr.xit.interfaces.lvis.service.bean;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.interfaces.lvis.service.VehicleInfoService; import cokr.xit.interfaces.lvis.service.VehicleInfoService;
/** () .<br /> /** () .<br />
@ -11,7 +11,7 @@ import cokr.xit.interfaces.lvis.service.VehicleInfoService;
* @author mjkhan * @author mjkhan
*/ */
@Component("lvisHost") @Component("lvisHost")
public class LvisHost extends AbstractComponent { public class LvisHost extends AbstractBean {
public String hostActive() { public String hostActive() {
return properties.getString("lvis.host.active", ""); return properties.getString("lvis.host.active", "");
} }

@ -8,8 +8,8 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.ApplicationException; import cokr.xit.foundation.ApplicationException;
import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
import cokr.xit.foundation.data.JSON; import cokr.xit.foundation.data.JSON;
import cokr.xit.interfaces.lvis.dao.VehicleInfoMapper; import cokr.xit.interfaces.lvis.dao.VehicleInfoMapper;
@ -49,7 +49,7 @@ import cokr.xit.interfaces.publicinfo.ServiceMessage;
* @author mjkhan * @author mjkhan
*/ */
@Component("vehicleInfoBean") @Component("vehicleInfoBean")
public class VehicleInfoBean extends AbstractComponent { public class VehicleInfoBean extends AbstractBean {
@Resource(name = "lvisHost") @Resource(name = "lvisHost")
private LvisHost lvisHost; private LvisHost lvisHost;
@Resource(name = "vehicleInfoMapper") @Resource(name = "vehicleInfoMapper")

Loading…
Cancel
Save