Thursday, August 19, 2004

Plain Old Java Aspect

(imported from, read comments there)

Back from hollydays, and back to work.

It's time to work on those Plain Old Java Aspects (POJA).
Java 5 Annotations are now so old, in the place since 1.5...

public class Poja {

@Around("execution(* *..*(String message)) AND within(*)")
public Object intercept(JoinPoint jp, String message) {