01: package org.objectweb.celtix.bus.jaxws;
02:
03: public final class ClassHelper {
04:
05: private ClassHelper() {
06: // empty
07: }
08:
09: public static Class<?> forName(String className)
10: throws ClassNotFoundException {
11: ClassLoader loader = Thread.currentThread()
12: .getContextClassLoader();
13: if (loader == null) {
14: loader = ClassHelper.class.getClassLoader();
15: }
16: return Class.forName(className, true, loader);
17: }
18: }
|