[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-224
alesj
do-not-reply at jboss.com
Fri Jan 11 10:10:18 EST 2008
"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. :-)
| 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=4119101#4119101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119101
More information about the jboss-dev-forums
mailing list