[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-224
adrian@jboss.org
do-not-reply at jboss.com
Fri Jan 11 10:36:40 EST 2008
"alesj" wrote : "adrian at jboss.org" wrote : I'd just change all the uses of the classloader.loadClass() to be Class.forName()
| |
| | Actually resolve=false is the equivalent of ClassLoader.loadClass()
| |
| Initialize, not resolve. :-)
|
It's resolve. It means do you resolveClass() when you load the class. ;-)
| public static Class<?> forName(String name, boolean initialize,
| ClassLoader loader)
| throws ClassNotFoundException
|
But in our case, as the JIRA (http://jira.jboss.com/jira/browse/JBMICROCONT-224) suggest (as you suggest :-)), initialize=true must be used.
Which still calls for a new method. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119113#4119113
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119113
More information about the jboss-dev-forums
mailing list