The program is "weaving"

xiaoxiao2021-03-06  57

Until recently saw such a concept, that is, AOP (facing aspect). AOP will clear all kinds of entangled aspects and then weave it through some way. From this concept, its function is quite powerful, because we can weave new "aspect" in the original "cloth", so you can expand the original function.

That talk about another topic, Code Enhance, people in a Class Loading the person into the bytecode and then submit it to the virtual machine, which strengthens some classes. From this way of operation, is it a taste of some hackers? But this feature is indeed and strong, and then think about this woven shuttle of the AOP?

转载请注明原文地址:https://www.9cbs.com/read-114508.html

New Post(0)