How can I use a singleton class in AOP (aspect-oriented programming)?

The language of choice is AspectJ, but I'm open to a general answer.

+3
source share
1 answer

http://www.christianschenk.org/blog/singletons-with-aspectj/

The link above provides a small tutorial on using singletons in AspectJ.

+2
source

Source: https://habr.com/ru/post/1718846/


All Articles