[jboss-user] [JBossCache] - POJOCache 2.0 - static field Replication
korimilli
do-not-reply at jboss.com
Fri Jul 20 12:09:40 EDT 2007
I have a static list (java.util.List) inside a class that I am trying to replicate. All other fields in the class get replicated except for the static List. The user guide for Release 2.0 says that by default all the static fields get replicated. Is there anything I am missing?
Thanks
Here is my class..
import java.util.ArrayList;
import java.util.List;
@org.jboss.cache.pojo.annotation.Replicable
public class Student {
private String name ;
private int age ;
private Address addr ;
/* someList is not replicated to other nodes in the Cluster */
public static List someList = new ArrayList();
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066260#4066260
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066260
More information about the jboss-user
mailing list