Commons Daemon

Commons Daemon 可以帮你实现将一个普通的 Java 应用编程系统的一个后台服务。 例如 Tomcat 就是利用这个项目来实现作为 Linux 和 Windows 的服务启动和停止的。 示例代码: /** * Launch the Engine from a variety of sources, either through a main() or invoked through * Apache Daemon. */ public class EngineLauncher implements Daemon { private static final Log4J log = Log4J.getLog(); private static Engine e...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部