Package org.springframework.core

Examples of org.springframework.core.DecoratingClassLoader


  private Class doResolveBeanClass(RootBeanDefinition mbd, Class... typesToMatch) throws ClassNotFoundException {
    if (!ObjectUtils.isEmpty(typesToMatch)) {
      ClassLoader tempClassLoader = getTempClassLoader();
      if (tempClassLoader != null) {
        if (tempClassLoader instanceof DecoratingClassLoader) {
          DecoratingClassLoader dcl = (DecoratingClassLoader) tempClassLoader;
          for (Class<?> typeToMatch : typesToMatch) {
            dcl.excludeClass(typeToMatch.getName());
          }
        }
        String className = mbd.getBeanClassName();
        return (className != null ? ClassUtils.forName(className, tempClassLoader) : null);
      }
View Full Code Here

TOP

Related Classes of org.springframework.core.DecoratingClassLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.