Which annotations does one have to use in order to get rid of the Spring XML config file?
@MukulTripathi13 жыл бұрын
Wait for you're video everyday...
@SumeetSharma4112 жыл бұрын
Hi Koushks, Are you going to have any tutorials on ESB, RestFul webservices anytime in future? I really think you are a good teacher and i want to learn more from you.
@AjayKumar-fd9mv3 жыл бұрын
👍👍👍👍
@dhirajsharma52759 жыл бұрын
Can you tell me what if I want to use two pointcuts for an advice when configuring the xml? I tried but no success ..
@TheBinalx9 жыл бұрын
+Dhiraj Sharma I am lazy to try myself, may be try this
@PHLYLM4 жыл бұрын
According to the documentation (docs.spring.io/spring/docs/3.0.0.M4/reference/html/ch07s03.html): _When combining pointcut sub-expressions, '&&' is awkward within an XML document, and so the keywords 'and', 'or' and 'not' can be used in place of '&&', '||' and '!' respectively. For example, the previous pointcut may be better written as:_ _"Note that pointcuts defined in this way are referred to by their XML id and cannot be used as named pointcuts to form composite pointcuts. The named pointcut support in the schema based definition style is thus more limited than that offered by the @AspectJ style. "_ So essentially, it's not possible to create composite Pointcuts seen in the annotation style.
@DanieleSalvatore12 жыл бұрын
Does anybody know if it is possible to ensure a method whiting a class that is not defined as bean? What i mean is: can i say to Spring AOP to lunch some advice methods when a method inside a class instantiated like 'new MyClass()' is called?