public final class ELExpressionFactory extends Object
ExpressionFactory| Modifier and Type | Method and Description |
|---|---|
static Boolean |
isSupported()
Checks whether javax.el is on the classpath and a
ExpressionFactory can be constructed |
static Boolean |
isSupported(ClassLoader classLoader)
Checks whether javax.el is on the classpath and a
ExpressionFactory can be constructed |
static javax.el.ExpressionFactory |
newInstance()
Calls
ExpressionFactory.newInstance() directly without any classpath checking |
static javax.el.ExpressionFactory |
newInstance(ClassLoader classLoader)
Constructs a
ExpressionFactory via Thread.currentThread().getContextClassLoader()
or the provided ClassLoader |
public static Boolean isSupported()
ExpressionFactory can be constructedpublic static Boolean isSupported(ClassLoader classLoader)
ExpressionFactory can be constructedclassLoader - class loader to resolve ExpressionFactorypublic static javax.el.ExpressionFactory newInstance(ClassLoader classLoader) throws IllegalStateException
ExpressionFactory via Thread.currentThread().getContextClassLoader()
or the provided ClassLoaderclassLoader - class loader to resolve ExpressionFactoryExpressionFactory instanceIllegalStateException - if javax.el is not on the class path or a ExpressionFactory instance could not be constructedpublic static javax.el.ExpressionFactory newInstance()
ExpressionFactory.newInstance() directly without any classpath checkingExpressionFactory instanceCopyright © 2005–2021 dozer. All rights reserved.