[aspectwerkz-dev] introducing mixins by annotation.
christoph sturm <chrisml-Ws/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
I am using aspectwerkz3 cvs, and i want to mixin an interface when a
class has an annotation.
the class looks like this:
/**
* @Identity
*/
public class IdentifyableClass
{
}
i have identity defined as custom annotation, and now i want my aspect
to mixin an interface, but i dont know how to define it.
this is my test-aspect:
/**
* @Aspect perInstance
*/
public class IdentifyableAspect
{
/**
* @Implements @Identity <== i dont know what exactly to write here
*/
public class IdentifyableImpl implements Identifyable
{
long id;
}
}
sorry if this is documented somewhere, but i found annotations only used
for advices in the docs.
regards
chris