public VariableTranslator getDynamicVariableTranslator(String className, ClassLoader parentLoader) {
        try {
            Class<?> clazz = CompiledJavaCache.getClassFromAssetName(parentLoader, className);
            if (clazz != null)
                return (VariableTranslator) (clazz).newInstance();
        }
        catch (Exception ex) {
            logger.trace("Dynamic VariableTranslatorProvider not found: " + className);
        }
        return null;
    }
public VariableTranslator getDynamicVariableTranslator ( String className , ClassLoader parentLoader ) { try { Class < ? > clazz = CompiledJavaCache . getClassFromAssetName ( parentLoader , className ) ; if ( clazz != null ) return ( VariableTranslator ) ( clazz ) . newInstance ( ) ; } catch ( Exception ex ) { logger . trace ( "Dynamic VariableTranslatorProvider not found: " + className ) ; } return null ; }
To get dynamic java variable translator
@param translatorClass
@param classLoader
@return