Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBossCache] - POJOCache 2.0 - static field Replication

scott.stark@jboss.org

2007-07-20


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.