摘要: 前言 上一篇文章中我们讨论了 类中 方法中一部分,今天这篇文章我们把 类的 方法剩余部分讲解完毕,在讲解代码之前我们先看之前的 "一篇关于ShutdownHook的文章" ,有利于后面代码的讲解。 / Start a new server instance. / public void start( 阅读全文
posted @ 2016-06-30 23:43 coldridgeValley 阅读(1508) 评论(0) 推荐(0) 编辑
摘要: 前言 上一篇文章中我们讨论了 类中 方法中涉及到的 方法,今天这篇文章我们来查看下 方法。 / Start the Catalina daemon. / public void start() throws Exception { if( catalinaDaemon==null ) init(); 阅读全文
posted @ 2016-06-30 23:43 coldridgeValley 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: 前言 上一篇文章中我们讨论了 类中 方法中涉及到的 方法,今天这篇文章我们来查看下 方法。 daemon.setAwait(true); daemon.load(args); setAwait方法 在 方法执行前,执行了 方法,跟进去查看 public void setAwait(boolean a 阅读全文
posted @ 2016-06-30 23:42 coldridgeValley 阅读(1831) 评论(0) 推荐(1) 编辑