[jboss-dev-forums] [Design of JBossCache] - Re: static field replication in PojoCache

genman do-not-reply at jboss.com
Tue Nov 14 13:00:17 EST 2006


One small problem. What if the POJO is something like this:


  | public Singleton {
  |   static int i = 3;
  |   private Singleton() {}
  |   public int getI() { return i; }
  | }
  | 

I'm not sure how attach would work if you can't actually construct it. This might be something you don't need to support, but you might need some way to attach the class itself.

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

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



More information about the jboss-dev-forums mailing list