Uses of Record Class
org.springframework.ai.mcp.modern.SyncResourceRegistration
Packages that use SyncResourceRegistration
Package
Description
MCP providers that expose resource read handlers to the transport layer.
Support for MCP servers implementing the 2026-07-28 ("modern") specification revision,
built on the
io.modelcontextprotocol.modern server API of the MCP Java SDK.-
Uses of SyncResourceRegistration in org.springframework.ai.mcp.annotation.provider.resource
Methods in org.springframework.ai.mcp.annotation.provider.resource that return types with arguments of type SyncResourceRegistration -
Uses of SyncResourceRegistration in org.springframework.ai.mcp.annotation.spring
Methods in org.springframework.ai.mcp.annotation.spring that return types with arguments of type SyncResourceRegistrationModifier and TypeMethodDescriptionstatic List<SyncResourceRegistration>SyncMcpAnnotationProviders.modernResources(List<Object> resourceObjects) static List<SyncResourceRegistration>SyncMcpAnnotationProviders.modernResources(List<Object> resourceObjects, @Nullable io.modelcontextprotocol.json.McpJsonMapper jsonMapper) -
Uses of SyncResourceRegistration in org.springframework.ai.mcp.modern
Methods in org.springframework.ai.mcp.modern that return SyncResourceRegistrationModifier and TypeMethodDescriptionstatic SyncResourceRegistrationSyncResourceRegistration.of(io.modelcontextprotocol.modern.McpSchema.Resource resource, io.modelcontextprotocol.modern.McpSchema.ClientCapabilities requiredCapabilities, io.modelcontextprotocol.modern.server.feature.McpSyncResource.Handler handler) Pairs a resource with a handler that only works with clients declaringrequiredCapabilities.static SyncResourceRegistrationSyncResourceRegistration.of(io.modelcontextprotocol.modern.McpSchema.Resource resource, io.modelcontextprotocol.modern.server.feature.McpSyncResource.Handler handler) Pairs a resource with a handler that requires no client capabilities.Methods in org.springframework.ai.mcp.modern with parameters of type SyncResourceRegistrationModifier and TypeMethodDescriptionvoidInMemorySyncResourceRepository.add(SyncResourceRegistration registration) Adds a resource and notifies listening clients.InMemorySyncResourceRepository.Builder.resource(SyncResourceRegistration registration) Method parameters in org.springframework.ai.mcp.modern with type arguments of type SyncResourceRegistrationModifier and TypeMethodDescriptionInMemorySyncResourceRepository.Builder.resources(List<SyncResourceRegistration> registrations) -
Uses of SyncResourceRegistration in org.springframework.ai.mcp.server.common.autoconfigure
Method parameters in org.springframework.ai.mcp.server.common.autoconfigure with type arguments of type SyncResourceRegistrationModifier and TypeMethodDescriptionMcpServerModernAutoConfiguration.mcpModernResourceRepository(org.springframework.beans.factory.ObjectProvider<List<SyncResourceRegistration>> resources, org.springframework.beans.factory.ObjectProvider<List<SyncResourceTemplateRegistration>> resourceTemplates, io.modelcontextprotocol.modern.server.feature.McpChangeFeed changeFeed, McpServerProperties serverProperties, McpServerModernProperties modernProperties) -
Uses of SyncResourceRegistration in org.springframework.ai.mcp.server.common.autoconfigure.annotations
Methods in org.springframework.ai.mcp.server.common.autoconfigure.annotations that return types with arguments of type SyncResourceRegistrationModifier and TypeMethodDescriptionModernServerSpecificationFactoryAutoConfiguration.modernResources(McpServerAnnotationScannerAutoConfiguration.ServerMcpAnnotatedBeans beansWithMcpMethodAnnotations, org.springframework.beans.factory.ObjectProvider<tools.jackson.databind.json.JsonMapper> jsonMapper)