I am doing Spring Aspect Oriented Programming with annotations in Java. I have Aspect LogAOP:
@Aspect public class LogAOP { @DeclareParents(value="beans.service.*+", //Line 1 defaultImpl= EventImpl.class) public static Event mixin; @Before("com.beans.business.businessService() &&" + "this(abc)") public void usage(Event abc) { abc.increment(); } }
I cannot understand the meaning of the β+β character in line 1 in the value attribute of the @DeclareParents annotation. Beacuse, even if I delete this + character, the program works fine. I also searched in the official Spring AOP documentation ( http://docs.spring.io/spring/docs/2.5.4/reference/aop.html ), nothing is mentioned there.
+ . , pointcut :
+
@DeclareParents(value="beans.service.*+", //Line 1 defaultImpl= EventImpl.class) public static Event mixin;
... , beans.service, . , beans.service. , . beans.service . , .
beans.service
Source: https://habr.com/ru/post/1527197/More articles:Rebol COLLECT: keep source data order in a loop - collectStrange FOR loop behavior in javascript - javascriptWhy doesn't it call wait (), notify () or notifyAll () without a synchronized block, and not a compiler error? - javaHow to set up the Invite friends (send life) dialog on Facebook and make a selection of all friends? - javascriptDefault scope for Eloquent models? - eloquenthow can i click the android dialog when clicked? - javaunable to get data from $ q to region - javascriptReading a file line by line in a dart - dartCombining sliced ββstrings based on slice indices in csv file - pythonReading a CSV file in a WPF application (C #) - c #All Articles