Code example for LoadingCache

Methods: invalidateAll

0
    public void registerNamespaces(Map<String, String> namespaces)
    { 
        checkArgument(namespaces != null, "cannot register null namespaces");
        prefixToNamespaceMap.putAll(namespaces);
        namespaceContext = newNamespaceContext();
        expressionCache.invalidateAll();
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    @Override 
    public void registerNamespaces(NamespaceManager namespaceManager)
    { 
        checkArgument(namespaceManager != null, "cannot register a null namespace manager");
        registerNamespaces(namespaceManager.getNamespaces());
    } 
 
    /** 
     * {@inheritDoc}