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

genman do-not-reply at jboss.com
Fri Nov 10 16:24:21 EST 2006


Couldn't you have statics work like this:

PojoCache c = ...;
c.registerClass(POJO.class);

I suppose also you could do some tricks with the classloader, so a classloader would have a PojoCache attached to it. And at the time the class is loaded, it gets registered.


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

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



More information about the jboss-dev-forums mailing list