public InFlowObject doGet (final FlowExpressionId fei) { try { return getStore().loadExpression(fei); } catch (final Throwable t) { log.warn("doGet() failed to load "+fei, t); } return null; }
/** * Retrieves an expression from the pool. * If the expression cannot be retrieved from the pool, null will be * returned. */ public FlowExpression fetch (final FlowExpressionId fei) { if (log.isDebugEnabled()) log.debug("fetch() for "+fei); //openwfe.org.Utils.logStackTrace(log); if (fei == null) return null; FlowExpression result = null; try { result = getStore().loadExpression(fei); //log.debug("fetch() expression got loaded"); //result.setApplicationContext(getContext()); // // done by the store } catch (final PoolException e) { log.info ("fetch() Failed to retrieve expression "+fei+ " because of "+e); //log.debug("fetch() Failed to retrieve expression "+fei, e); return null; } return result; }