Quantcast
Channel: aop – blog.
Browsing all 26 articles
Browse latest View live

Ytterligare en Aspekt på din kod

Har du någonsin kopierat vissa snuttar kod – om, om och om igen? Trots att du redan har en snygg objektorienterad arkitektur? Trots att den är full med de bästa design-mönster som går att […]

View Article



Indented Tracing Using AspectJ

Given inspiration from the book “AspectJ In Action”, I wrote a little aspect that provides indented tracing of method executions. This means that the aspect keeps track of the current indentation level...

View Article

Static Mock using AspectJ

After seeing MockME developed by some of my colleagues I started thinking about how this could be made in a generic way.

View Article

Aspect Oriented Programming In Java ME

Do you want to structure your Java ME applications better? Aspect Oriented Programming is a cool technology that can modularize your applications and separate the verbose infrastructure code from the...

View Article

Proxy Based AOP for Cocoa Touch

UITabBarController is generally used as is, no subclassing required. It creates a UITabBar and manages a list of UIViewControllers, keeping track of the tab in focus, UI creation and everything nice....

View Article


Transparent bind of JavaFX and POJOs

When I started coding JavaFX I quickly found that the great bind mechanism doesn’t work together very well with my legacy Java code. In fact, it doesn’t work at all. In my case I […]

View Article

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 […]

View Article

Architectural 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 Article


Intercepting 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 Article


Simple 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 Article

AspectJ 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 Article

The 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 Article

Defining 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 Article


Defining 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 Article

Using 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 Article


Configuring 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

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 Article


Architectural 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 Article

Intercepting 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 Article

Simple 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 Article
Browsing all 26 articles
Browse latest View live


Latest Images