Since 1.4 release, I have created two annotations: @PojoCacheable and
@InstanceOfPojoCacheable for POJO declaration. The first denotes that such that POJO will
be instrumented while the second one means any sub-class will also be intrumented.
The original intention originally was to put a wrapper around the JBoss Aop @Prepare and
@Prepare(... instanceof(...)) such that user won't have to use the JBoss Aop
annotation directly.
Still the user needs to exercise the PojoCache.attach api to attach the POJO, e.g. That
is, our model is minimal API (instead of API-less where all you need to do is declare the
POJO annotation).
Now, Bela has suggested we change the name (see part of:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985215#...). Since
2.0 is not out yet, this may be a good time to discuss the name change.
Obvious candidate is perhaps @Replicated and @InstanceOfReplicated. Originally, I have
thought about it but felt that it is a bit over-loaded (since user would then expect this
is api-less). But if people think it is more appropriate, I can certainly oblige.
Thoghts?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985339#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...