spring-framework / org.springframework.expression.spel.standard / SpelCompiler / getCompiler

getCompiler

open static fun getCompiler(@Nullable classLoader: ClassLoader): SpelCompiler

Factory method for compiler instances. The returned SpelCompiler will attach a class loader as the child of the given class loader and this child will be used to load compiled expressions.

Parameters

classLoader - the ClassLoader to use as the basis for compilation

Return
a corresponding SpelCompiler instance