Before advice: Advice that executes before a join point, but which does not have the ability to prevent execution flow proceeding to the join point (unless it throws an exception). After returning advice: Advice to be executed after a join point completes normally: for example, if a method returns without throwing an exception. After throwingContinue reading “Spring AOP Advice types”
Category Archives: Java
A new pointcut in Spring 2.5 : bean() pointcut
Spring framework 2.5 introducing a new pointcut method to its users. Its called the bean pointcut. This will help us to weave Aspects in to the beans. According to the bean name(s) which we had specified or according to the pattern which we mentioned, we can weave the aspects into that points. Besides selecting aContinue reading “A new pointcut in Spring 2.5 : bean() pointcut”
Reading Properties File from outside of a JAR File
Today in my project I had a requirement to fetch the properties file from out side of my JAR file. Its easy to pick it from the CLASSPATH of that JAR file but not that much easy to pick from a “Special location” like TOMCAT home, outside the JAR file. At first I tried toContinue reading “Reading Properties File from outside of a JAR File”
Acegi Security: Implementing security in your spring applications
Acegi Security is a Java/Java EE framework that provides advanced authentication, authorization and other security features for enterprise applications built using the Spring Framework (Java). This is a powerful, flexible security solution for enterprise software, with a particular emphasis on applications that use Spring. This provides your applications with comprehensive authentication, authorization, instance-based access control,Continue reading “Acegi Security: Implementing security in your spring applications”
