跳过导航链接
A B C D E G H I M N O P R S T U W 

A

AbstractExceptionNotifier - com.relaxed.common.exception.notifier中的类
异常通知器抽象类 实现了 ExceptionNotifier 接口,提供了通知器的基础功能。
AbstractExceptionNotifier(String, String) - 类 的构造器com.relaxed.common.exception.notifier.AbstractExceptionNotifier
构造函数 初始化通知渠道和应用名称。
AbstractNoticeGlobalExceptionHandler - com.relaxed.common.exception.handler中的类
 
AbstractNoticeGlobalExceptionHandler(ExceptionHandleConfig, ExceptionNotifierHolder, String) - 类 的构造器com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 
advice() - 类 中的方法com.relaxed.common.exception.aop.ExceptionAdvisorRegister
获取通知对象
afterPropertiesSet() - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 
AnnotationMethodPoint - com.relaxed.common.exception.aop中的类
AnnotationMethodPoint
AnnotationMethodPoint(Class<? extends Annotation>) - 类 的构造器com.relaxed.common.exception.aop.AnnotationMethodPoint
 
applicationName - 类 中的变量com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 
applicationName - 类 中的变量com.relaxed.common.exception.notifier.AbstractExceptionNotifier
应用名称 标识发送通知的应用名称。

B

bind(String) - 类 中的静态方法com.relaxed.common.exception.holder.ExceptionHolder
绑定异常上下文ID到当前线程
build() - 类 中的方法com.relaxed.common.exception.aop.DefaultPointCutBuilder
构建切点 创建基于 ExceptionNotice 注解的切点,包括: 1.
build() - 接口 中的方法com.relaxed.common.exception.aop.PointCutBuilder
构建切点 根据实现类的逻辑构建AOP切点,确定需要被拦截的方法范围。

C

channel - 类 中的变量com.relaxed.common.exception.notifier.AbstractExceptionNotifier
通知渠道 标识通知的具体实现类型,如MAIL、DING_TALK、WECHAT等。
com.relaxed.common.exception - 程序包 com.relaxed.common.exception
 
com.relaxed.common.exception.annotation - 程序包 com.relaxed.common.exception.annotation
 
com.relaxed.common.exception.aop - 程序包 com.relaxed.common.exception.aop
 
com.relaxed.common.exception.domain - 程序包 com.relaxed.common.exception.domain
 
com.relaxed.common.exception.handler - 程序包 com.relaxed.common.exception.handler
 
com.relaxed.common.exception.holder - 程序包 com.relaxed.common.exception.holder
 
com.relaxed.common.exception.notifier - 程序包 com.relaxed.common.exception.notifier
 
config - 类 中的变量com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 

D

decide(List<ExceptionNoticeResult>) - 类 中的方法com.relaxed.common.exception.notifier.DefaultNoticeResultDecision
判断通知是否成功 遍历通知结果列表,只要有一个通知成功,就返回true。
decide(List<ExceptionNoticeResult>) - 接口 中的方法com.relaxed.common.exception.notifier.NoticeResultDecision
判断通知是否成功 根据通知结果列表,判断整体通知是否成功。
DefaultGlobalExceptionHandler - com.relaxed.common.exception.handler中的类
 
DefaultGlobalExceptionHandler(ExceptionHandleConfig, ExceptionNotifierHolder, String) - 类 的构造器com.relaxed.common.exception.handler.DefaultGlobalExceptionHandler
 
DefaultGlobalExceptionNotifier - com.relaxed.common.exception.notifier中的类
默认全局异常通知器 实现了 ExceptionNotifier 接口,提供了默认的异常通知实现。
DefaultGlobalExceptionNotifier() - 类 的构造器com.relaxed.common.exception.notifier.DefaultGlobalExceptionNotifier
默认构造函数 初始化通知渠道为"DEFAULT"。
DefaultNoticeResultDecision - com.relaxed.common.exception.notifier中的类
默认通知结果决策器 实现了 NoticeResultDecision 接口,提供了默认的通知结果决策逻辑。
DefaultNoticeResultDecision() - 类 的构造器com.relaxed.common.exception.notifier.DefaultNoticeResultDecision
 
DefaultPointCutBuilder - com.relaxed.common.exception.aop中的类
默认切点构建器实现类 实现了 PointCutBuilder 接口,提供了基于 ExceptionNotice 注解的切点构建逻辑。
DefaultPointCutBuilder() - 类 的构造器com.relaxed.common.exception.aop.DefaultPointCutBuilder
 
DingTalkGlobalExceptionNotifier - com.relaxed.common.exception.notifier中的类
钉钉异常通知器 继承自 AbstractExceptionNotifier,实现了通过钉钉发送异常通知的功能。
DingTalkGlobalExceptionNotifier(String, String, DingTalkSender) - 类 的构造器com.relaxed.common.exception.notifier.DingTalkGlobalExceptionNotifier
构造函数 初始化钉钉通知器的相关配置。

E

ExceptionAdvisorRegister - com.relaxed.common.exception.aop中的类
异常通知注册器 用于注册和管理异常处理的切点和通知。
ExceptionAdvisorRegister(Pointcut, Advice) - 类 的构造器com.relaxed.common.exception.aop.ExceptionAdvisorRegister
构造函数 创建异常通知注册器实例,初始化切点和通知。
exceptionAdvisorRegister(PointCutBuilder, ExceptionAnnotationInterceptor) - 类 中的方法com.relaxed.common.exception.ExceptionAopAutoConfiguration
创建异常通知注册器 用于注册异常通知相关的配置,包括切点和异常拦截器。
ExceptionAnnotationAdvisor - com.relaxed.common.exception.aop中的类
异常注解通知者 继承自 AbstractPointcutAdvisor,实现了 BeanFactoryAware 接口。
ExceptionAnnotationAdvisor(ExceptionAdvisorRegister) - 类 的构造器com.relaxed.common.exception.aop.ExceptionAnnotationAdvisor
构造函数 基于异常通知注册器创建通知者实例。
exceptionAnnotationAdvisor(ExceptionAdvisorRegister) - 类 中的方法com.relaxed.common.exception.ExceptionAopAutoConfiguration
创建异常注解通知者 用于将异常通知注册器与AOP框架集成。
ExceptionAnnotationInterceptor - com.relaxed.common.exception.aop中的类
异常注解拦截器 实现了AOP的MethodInterceptor接口,用于拦截带有异常注解的方法调用。
ExceptionAnnotationInterceptor() - 类 的构造器com.relaxed.common.exception.aop.ExceptionAnnotationInterceptor
 
exceptionAnnotationInterceptor(GlobalExceptionHandler) - 类 中的方法com.relaxed.common.exception.ExceptionAopAutoConfiguration
创建异常注解拦截器 用于拦截和处理带有异常注解的方法。
ExceptionAopAutoConfiguration - com.relaxed.common.exception中的类
异常处理AOP自动配置类 提供基于AOP的异常处理自动配置,包括切点构建、通知注册、异常拦截等功能。
ExceptionAopAutoConfiguration() - 类 的构造器com.relaxed.common.exception.ExceptionAopAutoConfiguration
 
ExceptionHandleConfig - com.relaxed.common.exception中的类
异常处理配置类 用于配置异常处理的相关参数,包括忽略的异常类型、通知间隔时间、消息阈值等。
ExceptionHandleConfig() - 类 的构造器com.relaxed.common.exception.ExceptionHandleConfig
 
ExceptionHolder - com.relaxed.common.exception.holder中的类
异常信息持有者 使用ThreadLocal存储异常上下文信息,用于跟踪和传递异常处理过程中的状态。
ExceptionMessage - com.relaxed.common.exception.domain中的类
异常通知消息 用于封装异常通知的详细信息,包括异常标识、消息内容、发生次数等。
ExceptionMessage() - 类 的构造器com.relaxed.common.exception.domain.ExceptionMessage
 
ExceptionNotice - com.relaxed.common.exception.annotation中的注释类型
异常通知注解 用于标记需要异常通知的类或方法。
ExceptionNoticeResponse - com.relaxed.common.exception.domain中的类
异常通知响应 用于封装异常通知的整体响应结果,包括通知是否成功、通知者数量等信息。
ExceptionNoticeResponse() - 类 的构造器com.relaxed.common.exception.domain.ExceptionNoticeResponse
 
ExceptionNoticeResult - com.relaxed.common.exception.domain中的类
异常通知结果 用于记录单个通知处理器的执行结果,包括通知类型、执行状态和错误信息。
ExceptionNoticeResult() - 类 的构造器com.relaxed.common.exception.domain.ExceptionNoticeResult
 
ExceptionNotifier - com.relaxed.common.exception.notifier中的接口
异常通知器接口 定义了异常通知的统一接口,用于实现不同渠道的异常通知功能。
ExceptionNotifierHolder - com.relaxed.common.exception.holder中的类
ExceptionNotifierHolder
ExceptionNotifierHolder(List<ExceptionNotifier>, NoticeResultDecision) - 类 的构造器com.relaxed.common.exception.holder.ExceptionNotifierHolder
 

G

getAdvice() - 类 中的方法com.relaxed.common.exception.aop.ExceptionAnnotationAdvisor
获取通知对象
getChannel() - 类 中的方法com.relaxed.common.exception.notifier.AbstractExceptionNotifier
获取通知渠道
getChannel() - 接口 中的方法com.relaxed.common.exception.notifier.ExceptionNotifier
获取通知器渠道类型 返回通知器的具体实现类型,如MAIL、DING_TALK、WECHAT等。
getClassFilter() - 类 中的方法com.relaxed.common.exception.aop.AnnotationMethodPoint
 
getMethodMatcher() - 类 中的方法com.relaxed.common.exception.aop.AnnotationMethodPoint
 
getOrder() - 类 中的方法com.relaxed.common.exception.aop.ExceptionAdvisorRegister
获取切面顺序
getPointcut() - 类 中的方法com.relaxed.common.exception.aop.ExceptionAnnotationAdvisor
获取切点对象
getXID() - 类 中的静态方法com.relaxed.common.exception.holder.ExceptionHolder
获取当前线程的异常上下文ID
GlobalExceptionHandler - com.relaxed.common.exception.handler中的接口
全局异常处理器接口 定义了处理异常的统一接口,用于实现异常的统一处理逻辑。

H

handle(Throwable) - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 
handle(Throwable) - 接口 中的方法com.relaxed.common.exception.handler.GlobalExceptionHandler
处理异常信息 实现类可以在此方法中定义具体的异常处理逻辑, 如记录日志、发送通知、存储异常信息等。
handleExceptionNoticeResponse(ExceptionNoticeResponse) - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
处理通知结果

I

increment() - 类 中的方法com.relaxed.common.exception.domain.ExceptionMessage
增加异常发生次数 将异常发生次数加1,并返回当前对象。
init(Throwable) - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 
invoke(MethodInvocation) - 类 中的方法com.relaxed.common.exception.aop.ExceptionAnnotationInterceptor
拦截方法调用 在方法执行前后进行异常处理,确保异常信息的正确传递。

M

MailGlobalExceptionNotifier - com.relaxed.common.exception.notifier中的类
异常邮件通知
MailGlobalExceptionNotifier(String, String, MailSender, Set<String>) - 类 的构造器com.relaxed.common.exception.notifier.MailGlobalExceptionNotifier
 

N

notice(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.holder.ExceptionNotifierHolder
执行异常通知
NoticeResultDecision - com.relaxed.common.exception.notifier中的接口
通知结果决策器接口 定义了判断通知是否成功的决策逻辑。
notifierHolder - 类 中的变量com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 

O

ofFail(String, String) - 类 中的静态方法com.relaxed.common.exception.domain.ExceptionNoticeResult
创建失败的通知结果 快速创建一个表示通知失败的结果对象。

P

pointCut() - 类 中的方法com.relaxed.common.exception.aop.ExceptionAdvisorRegister
获取切点对象
PointCutBuilder - com.relaxed.common.exception.aop中的接口
切点构建器接口 定义了构建AOP切点的规范,用于确定需要被异常处理拦截的方法。
pointCutBuilder() - 类 中的方法com.relaxed.common.exception.ExceptionAopAutoConfiguration
创建默认的切点构建器 用于构建异常处理的切点,确定需要拦截的方法。

R

remove() - 类 中的静态方法com.relaxed.common.exception.holder.ExceptionHolder
移除当前线程的异常上下文
run() - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
 

S

send(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.handler.AbstractNoticeGlobalExceptionHandler
发送通知
send(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.notifier.DefaultGlobalExceptionNotifier
发送异常通知 记录异常日志,并返回成功的结果。
send(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.notifier.DingTalkGlobalExceptionNotifier
发送异常通知 通过钉钉发送异常信息,并返回发送结果。
send(ExceptionMessage) - 接口 中的方法com.relaxed.common.exception.notifier.ExceptionNotifier
发送异常通知 将异常信息通过指定的渠道发送出去。
send(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.notifier.MailGlobalExceptionNotifier
 
send(ExceptionMessage) - 类 中的方法com.relaxed.common.exception.notifier.WechatGlobalExceptionNotifier
 
setBeanFactory(BeanFactory) - 类 中的方法com.relaxed.common.exception.aop.ExceptionAnnotationAdvisor
设置BeanFactory 如果通知对象实现了 BeanFactoryAware 接口,则设置其BeanFactory。
setOrder(Integer) - 类 中的方法com.relaxed.common.exception.aop.ExceptionAdvisorRegister
设置切面顺序

T

toString() - 类 中的方法com.relaxed.common.exception.domain.ExceptionMessage
转换为字符串表示 将异常消息的所有信息格式化为易读的字符串。

U

unbind(String) - 类 中的静态方法com.relaxed.common.exception.holder.ExceptionHolder
解除当前线程的异常上下文绑定

W

WechatGlobalExceptionNotifier - com.relaxed.common.exception.notifier中的类
wechat消息通知
WechatGlobalExceptionNotifier(String, String, WechatSender) - 类 的构造器com.relaxed.common.exception.notifier.WechatGlobalExceptionNotifier
 
A B C D E G H I M N O P R S T U W 
跳过导航链接

Copyright © 2025. All rights reserved.