Package org.activiti.engine.impl.javax.el

Examples of org.activiti.engine.impl.javax.el.PropertyNotFoundException


  }

  public Object invoke(Bindings bindings, ELContext context, Class<?> returnType, Class<?>[] paramTypes, Object[] paramValues) {
    Object base = property.getPrefix().eval(bindings, context);
    if (base == null) {
      throw new PropertyNotFoundException(LocalMessages.get("error.property.base.null", property.getPrefix()));
    }
    Object method = property.getProperty(bindings, context);
    if (method == null) {
      throw new PropertyNotFoundException(LocalMessages.get("error.property.method.notfound", "null", base));
    }
    String name = bindings.convert(method, String.class);
    paramValues = params.eval(bindings, context);

    context.setPropertyResolved(false);
View Full Code Here


  @Override
  public Object getValue(ELContext context, Object base, Object property) {
    if (resolve(context, base, property)) {
      if (!isProperty((String) property)) {
        throw new PropertyNotFoundException("Cannot find property " + property);
      }
      return getProperty((String) property);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.activiti.engine.impl.javax.el.PropertyNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.