commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject [beanutils] per classloader BeanUtils
Date Thu, 27 Mar 2003 20:25:04 GMT
hey craig

IIRC we were talking before about using an instance per classloader 
(rather than singletons). i'm willing to have a stab at this but i thought 
that it'd be best if i run it past you first to make sure i understand 

the idea is that bean instances will be indexed by classloaders. when a 
static method is called, the context classloader of the current thread 
will be used to look up a bean instance. if no instance exists, then a new 
one will be created and added to the map with key the context classloader.
  the process of getting instances will need to be synchronized.

is this all correct?

- robert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message