| | |
| | | import com.dy.common.mw.UnitInterface; |
| | | import com.dy.common.mw.support.SupportUnit; |
| | | import com.dy.common.mw.support.SupportUnitConfigVo; |
| | | import com.dy.common.util.ConfigXml; |
| | | 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") ; |
| | | //////////////// |
| | | //服务 配置 |