类 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>
-
字段概要
从类继承的字段 com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponentFactory
i18nEnabled, injector, NOT_SPECIFIED -
构造器概要
构造器限定符构造器说明protectedMcpServerResourceFactory(com.google.inject.Injector injector, Boolean i18nEnabled) -
方法概要
从类继承的方法 com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponentFactory
resolveComponentAttributeValue
-
构造器详细资料
-
McpServerResourceFactory
@Inject protected McpServerResourceFactory(com.google.inject.Injector injector, Boolean i18nEnabled)
-
-
方法详细资料
-
create
-
register
public void register(io.modelcontextprotocol.server.McpSyncServer server)
-