How to use raw sentinel-annotation-aspectj without Spring
Open
area/annotation
kind/question
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
“AspectJ
若您的应用直接使用了 AspectJ,那么您需要在 aop.xml 文件中引入对应的 Aspect:
”
上述这种使用方式,哪位大佬可以提供一个样例,感谢。
Contributor guide
Research direction
Start with the aop.xml snippet and the raw sentinel-annotation-aspectj usage described in the issue, focusing on how SentinelResourceAspect is loaded without Spring. Done means providing a concrete, runnable example showing this non-Spring AspectJ setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100