|  |  |  | 
|---|
|  |  |  | import com.dy.common.mw.UnitStartedCallbackInterface; | 
|---|
|  |  |  | import com.dy.common.mw.channel.rmi.RmiConfigVo; | 
|---|
|  |  |  | import com.dy.common.mw.channel.rmi.RmiUnit; | 
|---|
|  |  |  | import com.dy.common.util.ConfigXml; | 
|---|
|  |  |  | import com.dy.common.util.NumUtil; | 
|---|
|  |  |  | import com.dy.common.util.ConfigXmlNoSpringboot; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public class Server{ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private ConfigXml conf = null ; | 
|---|
|  |  |  | private ConfigXmlNoSpringboot conf = null ; | 
|---|
|  |  |  | private Document doc = null ; | 
|---|
|  |  |  | private boolean showStartInfo = false ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | Server sv = new Server(); | 
|---|
|  |  |  | long start = System.currentTimeMillis() ; | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | sv.conf = new ConfigXml() ; | 
|---|
|  |  |  | sv.conf = new ConfigXmlNoSpringboot() ; | 
|---|
|  |  |  | sv.doc = sv.conf.createDom(sv.getClass(), "config.xml") ; | 
|---|
|  |  |  | //////////////// | 
|---|
|  |  |  | //服务 配置 | 
|---|