Spring and load-time weaving of Neo4j-based domain objects
What do you do when your Spring configuration isn’t in charge of creating your objects that needs to be injected with stuff? This became a real problem for me when I tried doing some non-anemic domain...
View ArticleArchitectural Enforcement with Aid of AspectJ
After working some time within the software industry, you get a feeling for good software architecture. Or, to be more honest, you get a creeping feeling when the architecture is really bad. That is...
View ArticleIntercepting Scala trait constructors
Today I was writing an AspectJ aspect for a Scala trait and was wondering why my constructor pointcut definition didn’t work. Having a closer look at the Scala byte code together with my colleague...
View ArticleSimple AOP in JavaScript
During a recent re-factoring of some JavaScript I accidentally removed the last line of a function that told the UI to re-render according to the new data. After that I figured, why not move this...
View ArticleAspectJ and AOP – The black magic of programming
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary [this post] The basics of AOP Defining pointcuts by pattern Defining pointcuts by annotations Using annotations...
View ArticleThe basics of AOP
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary The basics of AOP [this post] Defining pointcuts by pattern Defining pointcuts by annotations Using annotations...
View ArticleDefining pointcuts by pattern
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary The basics of AOP Defining pointcuts by pattern [this post] Defining pointcuts by annotations Using annotations...
View ArticleDefining pointcuts by annotations
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary The basics of AOP Defining pointcuts by pattern Defining pointcuts by annotations [this post] Using annotations...
View ArticleUsing annotations element-value pairs in AspectJ
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary The basics of AOP Defining pointcuts by pattern Defining pointcuts by annotations Using annotations...
View ArticleConfiguring Maven to use standalone aspects
Index This post is part of an series of posts about AspectJ and AOP. AspectJ – Dictionary The basics of AOP Defining pointcuts by pattern Defining pointcuts by annotations Using annotations...
View Article