All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.camunda.bpm.extension.osgi.blueprint.BlueprintExpressionManager Maven / Gradle / Ivy

package org.camunda.bpm.extension.osgi.blueprint;

import org.camunda.bpm.engine.impl.el.ExpressionManager;
import org.camunda.bpm.engine.impl.el.VariableScopeElResolver;
import org.camunda.bpm.engine.impl.javax.el.ArrayELResolver;
import org.camunda.bpm.engine.impl.javax.el.CompositeELResolver;
import org.camunda.bpm.engine.impl.javax.el.ELResolver;
import org.camunda.bpm.engine.impl.javax.el.ListELResolver;
import org.camunda.bpm.engine.impl.javax.el.MapELResolver;

public class BlueprintExpressionManager extends ExpressionManager {

  private BlueprintELResolver elResolver;

  @Override
  protected ELResolver createElResolver() {
    CompositeELResolver compositeElResolver = new CompositeELResolver();
    compositeElResolver.add(new VariableScopeElResolver());
    compositeElResolver.add(elResolver);
    compositeElResolver.add(new ArrayELResolver());
    compositeElResolver.add(new ListELResolver());
    compositeElResolver.add(new MapELResolver());
    return compositeElResolver;
  }

  public void setBlueprintELResolver(BlueprintELResolver elResolver) {
    this.elResolver = elResolver;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy