Code example for LoadingCache

Methods: getUnchecked

0
    public Object evaluate(String xpathExpression, Node input, XPathReturnType returnType, MuleEvent event)
    { 
        try 
        { 
            evaluationEvent.set(event);
            XPathExpression xpath = expressionCache.getUnchecked(xpathExpression);
            return xpath.evaluate(input, returnType.toQName());
        } 
        catch (XPathExpressionException e)
        { 
            throw new MuleRuntimeException(XmlMessages.failedToProcessXPath(xpathExpression), e);
        } 
        finally 
        { 
            evaluationEvent.remove();
        } 
    } 
 
    /** 
     * Resolves the given variable against the flow variables 
Stop searching for code, let great code find you!  Add Codota to your java IDE