public class TomEEELInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Constructor and Description |
---|
TomEEELInvocationHandler(java.lang.annotation.Annotation annotation,
ELProcessor processor) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
eval(ELProcessor processor,
java.lang.String sanitizedExpression,
java.lang.Class<?> expectedType) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
static boolean |
isExpression(java.lang.String rawExpression) |
static <T extends java.lang.annotation.Annotation> |
of(java.lang.Class<T> annotationClass,
T annotation,
BeanManager beanManager) |
static <T extends java.lang.annotation.Annotation> |
of(java.lang.Class<T> annotationClass,
T annotation,
ELProcessor elProcessor) |
static java.lang.String |
sanitizeExpression(java.lang.String rawExpression) |
public TomEEELInvocationHandler(java.lang.annotation.Annotation annotation, ELProcessor processor)
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public static boolean isExpression(java.lang.String rawExpression)
public static java.lang.String sanitizeExpression(java.lang.String rawExpression)
public static java.lang.Object eval(ELProcessor processor, java.lang.String sanitizedExpression, java.lang.Class<?> expectedType)
public static <T extends java.lang.annotation.Annotation> T of(java.lang.Class<T> annotationClass, T annotation, BeanManager beanManager)
public static <T extends java.lang.annotation.Annotation> T of(java.lang.Class<T> annotationClass, T annotation, ELProcessor elProcessor)