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

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

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

Service.getInfo介绍

[英]Return descriptive information about this Service implementation and the corresponding version number, in the format <description>/<version>.
[中]以[$0$]格式返回有关此服务实现的描述性信息和相应的版本号。

代码示例

代码示例来源:origin: org.springframework.osgi/spring-osgi-web

protected String getServerInfo() {
    return service.getInfo();
  }
}

代码示例来源:origin: org.springframework.osgi/org.springframework.osgi.web

protected String getServerInfo() {
    return service.getInfo();
  }
}

代码示例来源:origin: com.tomitribe.tribestream/tribestream-container

final Container container = service.getContainer();
LOGGER.fine(ValveCodes.INSTALLER_SERVICE_FOUND, String.format("Found service %s with name %s to process.",
    service.getInfo(), service.getName()));

相关文章