本文整理了Java中org.apache.catalina.Server.setCatalinaHome()
方法的一些代码示例,展示了Server.setCatalinaHome()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.setCatalinaHome()
方法的具体详情如下:
包路径:org.apache.catalina.Server
类名称:Server
方法名:setCatalinaHome
[英]Set the configured home (binary) directory. Note that home and base may be the same (and are by default).
[中]设置配置的主(二进制)目录。请注意,home和base可能是相同的(默认情况下是相同的)。
代码示例来源:origin: codefollower/Tomcat-Research
server.setCatalinaHome(baseFile);
} else {
File homeFile = new File(catalinaHome);
homeFile = homeFile.getAbsoluteFile();
server.setCatalinaHome(homeFile);
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
server.setCatalinaHome(baseFile);
} else {
File homeFile = new File(catalinaHome);
homeFile = homeFile.getAbsoluteFile();
server.setCatalinaHome(homeFile);
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
server.setCatalinaHome(baseFile);
} else {
File homeFile = new File(catalinaHome);
homeFile = homeFile.getAbsoluteFile();
server.setCatalinaHome(homeFile);
代码示例来源:origin: Red5/red5-plugins
embedded.getServer().setCatalinaHome(serverRootF);
embedded.setHost(host);
代码示例来源:origin: codefollower/Tomcat-Research
getServer().setCatalinaHome(Bootstrap.getCatalinaHomeFile());
getServer().setCatalinaBase(Bootstrap.getCatalinaBaseFile());
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
getServer().setCatalinaHome(Bootstrap.getCatalinaHomeFile());
getServer().setCatalinaBase(Bootstrap.getCatalinaBaseFile());
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
getServer().setCatalinaHome(Bootstrap.getCatalinaHomeFile());
getServer().setCatalinaBase(Bootstrap.getCatalinaBaseFile());
内容来源于网络,如有侵权,请联系作者删除!