[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] [aspects] make concrete aspect declaratively
|
If I have an abstract aspect: Is it possible to define one (or many other)
concrete aspects through the extension registry?
The current process involves the aop.xml to be defined appropriately, but
this can get very unhandy if you must define/concretize many aspects.
Idea: abstract aspect A defines an abstract pointcut to be implemented by
concrete aspects:
public abstract class A {
@Pointcut
public abstract void pointcutExpr();
@Around("pointcutExpr()")
public void a1() {
//do something
}
}
Now, I would just provide a pointcut expression (through an appropriate
plugin extension) and *somehow* a new concrete aspect will be generated at
runtime.