类 McpServerResourceFactory

java.lang.Object
com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification>
com.github.codeboyzhou.mcp.declarative.server.component.McpServerResourceFactory
所有已实现的接口:
McpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification>

public class McpServerResourceFactory extends AbstractMcpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification>
  • 构造器详细资料

    • McpServerResourceFactory

      @Inject protected McpServerResourceFactory(com.google.inject.Injector injector, Boolean i18nEnabled)
  • 方法详细资料

    • create

      public io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification create(Class<?> clazz, Method method)
    • register

      public void register(io.modelcontextprotocol.server.McpSyncServer server)