[jboss-user] [JBossCache] - Annotations not found, where are they?

bob_ninja do-not-reply at jboss.com
Wed Mar 7 12:12:22 EST 2007


1.4.1 SP1, Windows JDK 1.5

I am following the manual, section 7.2.2, that specifies:

"... @org.jboss.cache.aop.annotation.PojoCacheable  and @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable."

Also I am looking at the packaged example:

@org.jboss.cache.aop.annotation.InstanceOfPojoCacheable
public class Person {

When I use it in my code it fails. Class not found. I examined both JavaDocs and the library archive, jboss-cache.jar. Both have only the following annotation classes:
"NonTransient, Serializable, Transient"

There is no sign of the bean annotations. These appear to be field annotations. So my question is where are they? Should I be using these or another method? I would prefer to avoid having to run preprocessors of any sort. Should I use the XML config file?

Using JDK 1.5 what is the least painful method of instrumenting beans that works?

thanks

P.S.: Seems I am missing something obvious and I searched forums and site, but just don't see the answer.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025872#4025872

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025872



More information about the jboss-user mailing list