类 ToolFunctionPostProcessor
java.lang.Object
top.aoyudi.deepseek.handler.ToolFunctionPostProcessor
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanPostProcessor
@Component
public class ToolFunctionPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
工具后处理器
注册工具
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明postProcessAfterInitialization(Object bean, String beanName) 扫描带有 @ToolFunction的方法进行工具方法 注册从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
构造器详细资料
-
ToolFunctionPostProcessor
public ToolFunctionPostProcessor()
-
-
方法详细资料
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException 扫描带有 @ToolFunction的方法进行工具方法 注册- 指定者:
postProcessAfterInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 参数:
bean- beanbeanName- beanName- 返回:
- Object
- 抛出:
org.springframework.beans.BeansException- BeansException
-