[jboss-user] [Javassist Development] New message: "Re: ScopedClassPoolRepositoryImpl and default ClassPool"

Flavia Rainone do-not-reply at jboss.com
Wed Feb 10 17:37:25 EST 2010


User development,

A new message was posted in the thread "ScopedClassPoolRepositoryImpl and default ClassPool":

http://community.jboss.org/message/525606#525606

Author  : Flavia Rainone
Profile : http://community.jboss.org/people/flavia.rainone@jboss.com

Message:
--------------------------------------------------------------
 On a side note, the class pool that is used by factories to represent null class loaders is configured on org.jboss.classpool.spi.AbstractClassPoolFActory. Currently it can be set by callling AbstractClassPoolFactory.setDefaultClassPool() and it can be retrieved by callling AbstractClassPoolFactory.getDefaultClassPool().

The problem is that, IMO, this nomenclature is not appropriate. Javassist uses default ClassPool to denote the classpools that is used by default on some operations. In my case, I'm configuring the class pool that is used to represent null class loaders.

Any ideas on how to name those methods? I thought on setNullClassPool or on setBootstrapClassPool
Notice that anyway we will have a gap with the SystemClassPool nomenclature, which is being used because this class pool is associated to the SystemClassLoader.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525606#525606




More information about the jboss-user mailing list