Class AbstractMcpAnnotatedBeans

java.lang.Object
org.springframework.ai.mcp.annotation.spring.scan.AbstractMcpAnnotatedBeans
Direct Known Subclasses:
McpClientAnnotationScannerAutoConfiguration.ClientMcpAnnotatedBeans, McpServerAnnotationScannerAutoConfiguration.ServerMcpAnnotatedBeans

public abstract class AbstractMcpAnnotatedBeans extends Object
Container for Beans that have method with MCP annotations
Author:
Christian Tzolov
  • Constructor Details

    • AbstractMcpAnnotatedBeans

      public AbstractMcpAnnotatedBeans()
  • Method Details

    • addMcpAnnotatedBean

      public void addMcpAnnotatedBean(Object bean, Set<Class<? extends Annotation>> annotations)
    • getAllAnnotatedBeans

      public List<Object> getAllAnnotatedBeans()
    • getBeansByAnnotation

      public List<Object> getBeansByAnnotation(Class<? extends Annotation> annotationType)
    • getCount

      public int getCount()