protected EnhancedClassLoader getClassLoader(OgnlContext context)
    {
        EnhancedClassLoader ret = (EnhancedClassLoader) _loaders.get(context.getClassResolver());

        if (ret != null)
            return ret;

        ClassLoader classLoader = new ContextClassLoader(OgnlContext.class.getClassLoader(), context);

        ret = new EnhancedClassLoader(classLoader);
        _loaders.put(context.getClassResolver(), ret);

        return ret;
    }
protected EnhancedClassLoader getClassLoader(OgnlContext context)
    {
        EnhancedClassLoader ret = (EnhancedClassLoader) _loaders.get(context.getClassResolver());

        if (ret != null)
            return ret;

        ClassLoader classLoader = new ContextClassLoader(OgnlContext.class.getClassLoader(), context);

        ret = new EnhancedClassLoader(classLoader);
        _loaders.put(context.getClassResolver(), ret);

        return ret;
    }
protected EnhancedClassLoader getClassLoader ( OgnlContext context ) { EnhancedClassLoader ret = ( EnhancedClassLoader ) _loaders . get ( context . getClassResolver ( ) ) ; if ( ret != null ) return ret ; ClassLoader classLoader = new ContextClassLoader ( OgnlContext . class . getClassLoader ( ) , context ) ; ret = new EnhancedClassLoader ( classLoader ) ; _loaders . put ( context . getClassResolver ( ) , ret ) ; return ret ; }
Creates a {@link ClassLoader} instance compatible with the javassist classloader and normal
OGNL class resolving semantics.

@param context
The current execution context.

@return The created {@link ClassLoader} instance.
Creates a { @link ClassLoader } instance compatible with the javassist classloader and normal OGNL class resolving semantics .