7.2.2. JDK5.0

7.2.2. JDK5.0

The JDK5.0 annotation is similar to the JDK1.4 counterpart except the annotation names themselves are different, e.g., the two annotations are: @org.jboss.cache.aop.annotation.PojoCacheable and @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable. For example, when using JDK5.0 annotation, instead of using @@org.jboss.cache.aop.AopMarker you will use @org.jboss.cache.aop.annotation.PojoCacheable instead. In the distribution, under examples/PojoCache/annotated50, there is an example of using JDK50 annotation. Note that we have decided to use different annotation naming convention between JDK1.4 and 5.0.