Tag: spring aspect example
Spring Aspect Oriented Programming – Aspect Introduction & Example
by  Java4s | 9 Comments
  [ Ask Question ]
Yeah.., will see what is the meaning of this term Aspect in spring AOP. An aspect represent the cross-cutting functionality name, remember just name only. One real time service required for a business logic is called one Aspect. Aspect…
Example On Spring AOP Before Advice, After Advice
by  Java4s | 24 Comments
  [ Ask Question ]
Hi friends…, will see one example on spring Before Advice, and After Advice. Files Required MyAfterAdvice.java MyImplClass.java MyInterFace.java MyWelcomeAdvice.java OurLogic.java spconfig.xml Directory Structure MyAfterAdvice.java package java4s; import java.lang.reflect.Method; import org.springframework.aop.AfterReturningAdvice; public class MyAfterAdvice implements AfterReturningAdvice { public void afterReturning(Object…