org.camunda.bpm.engine.cdi.impl.el
Class CdiResolver
java.lang.Object
org.camunda.bpm.engine.impl.javax.el.ELResolver
org.camunda.bpm.engine.cdi.impl.el.CdiResolver
public class CdiResolver
- extends ELResolver
Resolver wrapping an instance of javax.el.ELResolver obtained from the
BeanManager. Allows the process engine to resolve Cdi-Beans.
- Author:
- Daniel Meyer
|
Method Summary |
protected javax.enterprise.inject.spi.BeanManager |
getBeanManager()
|
Class<?> |
getCommonPropertyType(ELContext context,
Object base)
|
Iterator<FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
Object base)
|
Class<?> |
getType(ELContext context,
Object base,
Object property)
|
Object |
getValue(ELContext context,
Object base,
Object property)
|
protected javax.el.ELResolver |
getWrappedResolver()
|
Object |
invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
|
boolean |
isReadOnly(ELContext context,
Object base,
Object property)
|
void |
setValue(ELContext context,
Object base,
Object property,
Object value)
|
protected javax.el.ELContext |
wrapContext(ELContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdiResolver
public CdiResolver()
getBeanManager
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
getWrappedResolver
protected javax.el.ELResolver getWrappedResolver()
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext context,
Object base)
- Specified by:
getCommonPropertyType in class ELResolver
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
Object base)
- Specified by:
getFeatureDescriptors in class ELResolver
getType
public Class<?> getType(ELContext context,
Object base,
Object property)
- Specified by:
getType in class ELResolver
getValue
public Object getValue(ELContext context,
Object base,
Object property)
- Specified by:
getValue in class ELResolver
isReadOnly
public boolean isReadOnly(ELContext context,
Object base,
Object property)
- Specified by:
isReadOnly in class ELResolver
setValue
public void setValue(ELContext context,
Object base,
Object property,
Object value)
- Specified by:
setValue in class ELResolver
invoke
public Object invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
- Overrides:
invoke in class ELResolver
wrapContext
protected javax.el.ELContext wrapContext(ELContext context)
Copyright © 2016 camunda services GmbH. All rights reserved.