Archive | July 15th, 2008

How to write Throws Advice in Spring AOP?

July 15, 2008

0 Comments

Throws Advice Example Throws Advice is used when throwing exception from the business methods. This interceptor will be called when there is any exception, so one can do any logic to candle the exception. For writing the Throws Advice implementation you have to implement ThrowsAdvice interface. This is typed or marker interface. Marker interface doesn’t [...]

email

How to write Interception Around Advice in Spring AOP?

July 15, 2008

0 Comments

Interception Around Advice Example In this tips we explore how to use the Interception Around Advice in Spring’s Aspect Oriented Programming(AOP). Interception Around Advice is fundamental advice type in the Spring framework. Also this advice type is derived from other frameworks like AspectJ. So it is interoporable with other frameworks, other advices in the Spring [...]