org.apache.catalina.Server.setCatalinaHome()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.apache.catalina.Server.setCatalinaHome()方法的一些代码示例,展示了Server.setCatalinaHome()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.setCatalinaHome()方法的具体详情如下:
包路径:org.apache.catalina.Server
类名称:Server
方法名:setCatalinaHome

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());

相关文章