Note that there are some explanatory texts on larger screens.

plurals
  1. POCalling methods declared in an aspect
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO`PointObserving`, in this case, is an aspect that is woven into your code ***after*** it has been compiled. Your classes will not be aware of any of the woven code because from their point of view, it doesn't exist. If you want to mimic what was done in this particular aspect, consider using the standard Observable/Observer from the SDK.
      singulars
    2. COI think you should reconsider your motives for using AOP - or try to understand what it is all about. AOP is for separately modelling crosscutting concerns and for getting rid of scattering and tangling of secondary concerns in your core code. So try to refrain from scatter and tangle everything again through the back door. Instead, try to find a way to apply your Observer pattern by means of AOP. I am sure there must be a way to do that cleanly without creating an application design nightmare.
      singulars
    3. CO@kriegaex I am indeed trying to apply the observer pattern through AOP. My motive is simple. I want to trace (not by means of logging but by intercepting method args/returned values at some specific points in the calculations) a complete calculation. Now, I have this these different models (that do these calculations) but I do not want to clutter them by adding listener.doThis()/doThat() methods in the midst of my business logic. I think AOP fits the requirements neatly. I think I have found a solution that works. Will post it to see if you/others see a problem with it.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload