*/
public class ProcessApplicationBeanElResolverDelegate extends AbstractElResolverDelegate {
protected ELResolver getElResolverDelegate() {
ProcessApplicationReference processApplicationReference = Context.getCurrentProcessApplication();
if(processApplicationReference != null) {
try {
ProcessApplicationInterface processApplication = processApplicationReference.getProcessApplication();
return processApplication.getBeanElResolver();
} catch (ProcessApplicationUnavailableException e) {
throw new ProcessEngineException("Cannot access process application '"+processApplicationReference.getName()+"'", e);
}
} else {
return new BeanELResolver();
}