/** Perform a plain Class.forName() or call the externally provided classloader. If a BshClassManager implementation is loaded the call will be delegated to it, to allow for additional hooks. <p/> This simply wraps that bottom level class lookup call and provides a central point for monitoring and handling certain Java version dependent bugs, etc. @see #classForName( String ) @return the class */ public Class<?> plainClassForName( String name ) throws ClassNotFoundException { Class<?> c = null; if ( externalClassLoader != null ) c = externalClassLoader.loadClass( name ); else c = Class.forName( name ); cacheClassInfo( name, c ); return c; }
/** Perform a plain Class.forName() or call the externally provided classloader. If a BshClassManager implementation is loaded the call will be delegated to it, to allow for additional hooks. <p/> This simply wraps that bottom level class lookup call and provides a central point for monitoring and handling certain Java version dependent bugs, etc. @see #classForName( String ) @return the class */ public Class plainClassForName( String name ) throws ClassNotFoundException { Class c = null; if ( externalClassLoader != null ) c = externalClassLoader.loadClass( name ); else c = Class.forName( name ); cacheClassInfo( name, c ); return c; }
getClassManager().cacheClassInfo( fullname, clas ); return clas;
this.getClassManager().cacheClassInfo(fullname, clas); return clas;