Uses of Record Class
org.springframework.ai.mcp.modern.AsyncResourceRegistration
Packages that use AsyncResourceRegistration
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 AsyncResourceRegistration in org.springframework.ai.mcp.annotation.provider.resource
Methods in org.springframework.ai.mcp.annotation.provider.resource that return types with arguments of type AsyncResourceRegistration -
Uses of AsyncResourceRegistration in org.springframework.ai.mcp.annotation.spring
Methods in org.springframework.ai.mcp.annotation.spring that return types with arguments of type AsyncResourceRegistrationModifier and TypeMethodDescriptionstatic List<AsyncResourceRegistration>AsyncMcpAnnotationProviders.modernResources(List<Object> resourceObjects) static List<AsyncResourceRegistration>AsyncMcpAnnotationProviders.modernResources(List<Object> resourceObjects, @Nullable io.modelcontextprotocol.json.McpJsonMapper jsonMapper) -
Uses of AsyncResourceRegistration in org.springframework.ai.mcp.modern
Methods in org.springframework.ai.mcp.modern that return AsyncResourceRegistrationModifier and TypeMethodDescriptionstatic AsyncResourceRegistrationAsyncResourceRegistration.of(io.modelcontextprotocol.modern.McpSchema.Resource resource, io.modelcontextprotocol.modern.McpSchema.ClientCapabilities requiredCapabilities, io.modelcontextprotocol.modern.server.feature.McpAsyncResource.Handler handler) Pairs a resource with a handler that only works with clients declaringrequiredCapabilities.static AsyncResourceRegistrationAsyncResourceRegistration.of(io.modelcontextprotocol.modern.McpSchema.Resource resource, io.modelcontextprotocol.modern.server.feature.McpAsyncResource.Handler handler) Pairs a resource with a handler that requires no client capabilities.Methods in org.springframework.ai.mcp.modern with parameters of type AsyncResourceRegistrationModifier and TypeMethodDescriptionvoidInMemoryAsyncResourceRepository.add(AsyncResourceRegistration registration) Adds a resource and notifies listening clients.InMemoryAsyncResourceRepository.Builder.resource(AsyncResourceRegistration registration) Method parameters in org.springframework.ai.mcp.modern with type arguments of type AsyncResourceRegistrationModifier and TypeMethodDescriptionInMemoryAsyncResourceRepository.Builder.resources(List<AsyncResourceRegistration> registrations) -
Uses of AsyncResourceRegistration in org.springframework.ai.mcp.server.common.autoconfigure
Method parameters in org.springframework.ai.mcp.server.common.autoconfigure with type arguments of type AsyncResourceRegistrationModifier and TypeMethodDescriptionMcpServerModernAutoConfiguration.mcpModernAsyncResourceRepository(org.springframework.beans.factory.ObjectProvider<List<AsyncResourceRegistration>> resources, org.springframework.beans.factory.ObjectProvider<List<AsyncResourceTemplateRegistration>> resourceTemplates, io.modelcontextprotocol.modern.server.feature.McpChangeFeed changeFeed, McpServerProperties serverProperties, McpServerModernProperties modernProperties) -
Uses of AsyncResourceRegistration 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 AsyncResourceRegistrationModifier and TypeMethodDescriptionModernServerSpecificationFactoryAutoConfiguration.modernAsyncResources(McpServerAnnotationScannerAutoConfiguration.ServerMcpAnnotatedBeans beansWithMcpMethodAnnotations, org.springframework.beans.factory.ObjectProvider<tools.jackson.databind.json.JsonMapper> jsonMapper)