• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aspectran / aspectran / #5043

14 Mar 2026 04:09PM UTC coverage: 43.92% (-0.02%) from 43.944%
#5043

push

github

topframe
Refine activity context enforcement in AbstractBeanProxy

- Enhanced 'invoke' method to intelligently check for the presence of an active activity context.
- An 'NoActivityStateException' is now thrown only when an advisable synchronous method is called without an active activity and actually has matching aspects to execute.
- Permitted invocation of '@Async' methods without a pre-existing activity context, as the proxy handles activity creation within the worker thread.
- Allowed methods with no matching aspects to proceed even if no activity context is present, improving flexibility for non-transactional beans.
- Updated 'retrieveAdviceRuleRegistry' to safely handle null activity references during pointcut matching.
- This change ensures strict AOP integrity for transactional operations while maintaining compatibility with asynchronous tasks and unadivsed methods.

7 of 20 new or added lines in 1 file covered. (35.0%)

210 existing lines in 9 files now uncovered.

16773 of 38190 relevant lines covered (43.92%)

0.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.94
/core/src/main/java/com/aspectran/core/component/bean/BeanFactoryUtils.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc