Streamline your workflow with the new MCP server for Red Hat product documentation.Connect your AI tools and LLMs directly to live Red Hat product documentation. Connect now.
12.5. 安装和卸载供应商
自定义提供程序应打包在 Java 存档(JAR)文件中,并复制到发行版的 提供程序 目录中。之后,您必须运行 build 命令,以便使用 JAR 文件中的实现来更新服务器的提供程序注册表。
为了优化服务器运行时,需要这一步,以便在启动服务器或运行时都知道所有供应商,而不是提前发现。
要卸载提供程序,您应该从 providers 目录中删除 JAR 文件,然后再次运行 build 命令。