package cn.cerc.mis.core;

import cn.cerc.db.core.IHandle;
import cn.cerc.mis.client.IServiceServer;
import cn.cerc.mis.client.RemoteService;

/**
 * 调用中心数据库权限等服务
 * 
 * @author ZhangGong
 *
 */
public class CenterService extends RemoteService {
    private IServiceServer server = new CenterServer();

    public CenterService(IHandle handle) {
        super(handle);
        this.setServer(server);
    }

    @Deprecated
    public CenterService(IHandle handle, String service) {
        super(handle);
        this.setServer(server);
        this.setService(service);
    }

}

package cn.cerc.mis.core;

import cn.cerc.db.core.IHandle;
import cn.cerc.mis.client.IServiceServer;
import cn.cerc.mis.client.RemoteService;

/**
 * 调用中心数据库权限等服务
 * 
 * @author ZhangGong
 *
 */
public class CenterService extends RemoteService {
    private IServiceServer server = new CenterServer();

    public CenterService(IHandle handle) {
        super(handle);
        this.setServer(server);
    }

}

Update CenterService.java